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
I am using this plugin in my new project, I have a problem with multiple dates highlight in the edit form. The defaultDate data attribute is not working. Could you please help me with this.
Here am attaching the screenshot.
Regards,
Varma
The text was updated successfully, but these errors were encountered:
I had a quick look into it, defaultDate is a string in flatpickr. So maybe you could try to pass a string with the multiple dates rather than an array?
Yes, now it's working. Thank you so much for your quick reply.
I have noticed one more thing while selecting multiple dates from the date picker, by default comma and whitespace(", ") are added between the dates, so in edit form also you should populate the dates with the same format.
Example: Create form: 2019-06-02, 2019-06-03, 2019-06-04(format from the calendar)
Edit form: 2019-06-02,2019-06-03,2019-06-04 (this format won't work) 2019-06-02, 2019-06-03, 2019-06-04 (this will work)
Dear @adrienpoly,
I am using this plugin in my new project, I have a problem with multiple dates highlight in the edit form. The
defaultDate
data attribute is not working. Could you please help me with this.Here am attaching the screenshot.
Regards,
Varma
The text was updated successfully, but these errors were encountered: