You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I have a field like this:
This field is in the 'd MMMM yyyy' format. When I try and change this value by going flatpickr().setDate('17 09 2021', true, 'dd MM yyyy'), this is the result:
Flatpickr seems to be converting the date to a text input first, and then incorrectly parsing that text to a selected date. Does anyone have any ideas on how to get around this so it parses directly to a selected date?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
So I have a field like this:
This field is in the 'd MMMM yyyy' format. When I try and change this value by going
flatpickr().setDate('17 09 2021', true, 'dd MM yyyy')
, this is the result:Flatpickr seems to be converting the date to a text input first, and then incorrectly parsing that text to a selected date. Does anyone have any ideas on how to get around this so it parses directly to a selected date?
Beta Was this translation helpful? Give feedback.
All reactions