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
日期选择器键盘事件由 event.code 监控回车事件。小键盘回车事件无效。小键盘是 numpadenter。希望用e.key来判断或者加个numpadenter来判断。谢谢 #4545
Comments
Translation of this issue: |
@Alanscut 可以添加一个numpadEnter的判断吗,表单全部加键盘事件后,按下numpadEnter 不能关闭日期,或者抛出一个关闭日期的属性 |
@Mr-city 这个pr里就是让enter和numpadEnter的行为一致,现在可以按下小键盘回车关闭弹出层了。 |
@Alanscut 这个版本多久更新了,还有可以抛出一个手动关闭日期的属性吗 |
@Mr-city 我不理解为什么需要一个手动关闭日期的属性 |
@Alanscut 有一个业务场景,给form表单全部添加了键盘事件,上下左右加回车,按回车就定位到下一个,如果日期没输入值,按下回车定位到下一个,日期候选框是不会消失的,此时须要一个手动关闭的属性,日期现在也没有blur事件 |
@Alanscut 这个事件不行,须手动执行一个blur方法,可以关闭日期 |
@Mr-city https://preview-4563-element-plus.surge.sh/en-US/component/date-picker.html#enter-date |
No description provided.
The text was updated successfully, but these errors were encountered: