Set default value on a Date component when open form with saved submission data #4821
mihaiandreicut
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I try to open a form with default data, and I have a Date field in which I try to set value 04.11.2021 but in the field appears 11.04.2021, I think it happens that because of this: moment.utc(input).toISOString(), which is in src/components/datetime/DateTime.js on line 153.
Have anyone any idea how to solve this kind of situations ?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions