Skip to content
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

antd使用自定义组件替换成dayjs后,会改变DatePicker默认的行为 #1999

Open
Bravo123 opened this issue Jul 25, 2022 · 0 comments

Comments

@Bravo123
Copy link

Describe the bug
momentjs替换成dayjs后,datePicker手动删除时间的某一位会自动补0且光标回到最后一位,导致datePicker使用体验十分不佳

6cuh7-mgutb

Expected behavior
同默认momentjs一致,不自动补0且光标不移动

Information

  • "dayjs": "^1.9.6",
  • "antd": "^4.18.2",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant