Skip to content

time-picker bug when use backspace to clear input #1173

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task
zkwolf opened this issue Sep 10, 2019 · 2 comments
Closed
1 task

time-picker bug when use backspace to clear input #1173

zkwolf opened this issue Sep 10, 2019 · 2 comments

Comments

@zkwolf
Copy link
Member

zkwolf commented Sep 10, 2019

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.3.16-latest

Environment

chrome 76

Reproduction link

https://vue.ant.design/components/time-picker-cn/#components-time-picker-demo-basic

Steps to reproduce

1.选择一个时间

2.backspace清空

3.输入数字

What is expected?

清空后输入数字直接显示

What is actually happening?

控制台报错 第一个输入数字无显示,再输入可以正常工作


1.报错是因为Header.jsx文件中尝试修改props showStr导致warning

2.将showStr相关去掉可以解决此bug,但是未知副作用

@zkwolf zkwolf mentioned this issue Sep 10, 2019
13 tasks
@github-actions
Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the Stale label Jan 20, 2021
@zkwolf zkwolf closed this as completed Jan 20, 2021
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant