-
Notifications
You must be signed in to change notification settings - Fork 36
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-jalali datepicker problem when setting initial value via form instance #8
Comments
i used day.js to get the object of date and then set that as initial value
|
Hi Saeed Are you sure that default value will work with dayjs object? When you set default value with dayjs object, it will throw:
Because Currently, the only way of setting default value is moment. But when the value set by Can you set a default value in your demo page? |
when i'm trying to set initial value for jalali datepicker via form.setFieldsValue the datepicker popup container goes crazy and i can't figure the problem and you can not select a date until you choose the today date and then it is possible to choose date
this is the part of my code that i'm trying to set datePicker initial value
The text was updated successfully, but these errors were encountered: