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
RangePicker does not support typing in start/end dates when in form #15673
Comments
@SaladFork I downgraded the |
@ztplz This does not work for me. Is there an update yet? |
No fix yet? |
I am sorry for opening a duplicated issue, but is this going to be fixed? |
same as #17779 |
Is there a fix for this yet? Still doesn't work with tabs and typed in values |
Encountered a very similar issue when setting "value" prop on RangePicker. Without value prop, you can enter both start and end date without issues as noted above regarding outside a form: With value prop, you get similar behaviour noted above regarding inside a form. After typing start date, input gets cleared when trying to type in end date: Could be related 🤔. Form could be setting the value prop? |
same issue https://codesandbox.io/s/crazy-mcclintock-31lnd .start date input will clear while i finish the start date input, touch |
Fixed in antd v4 RangePicker. |
How can I get the fix of this issue. if anyone know please do reply. |
Reproduction link
https://ant.design/components/form/
Steps to reproduce
Working example (
DatePicker
outside form)DatePicker
documentation forRangePicker
2019-01-01
2019-01-04
Broken example (
DatePicker
inside form)Form
documentation includingRangePicker
What is expected?
The
RangePicker
should behave the same when inside a form, allowing the start and end dates to be set by typing.What is actually happening?
When in a form, the RangePicker gets stuck in an empty state
The text was updated successfully, but these errors were encountered: