Closed hancock309 closed 9 months ago
Same issue. @hancock309 did you solve the problem?
@alekseyBatuhtin, no... I did not find a workaround :(
I was forced to go back to version 4.13.8. If you figure something out, please let me know
Closing this thread as it is outdated. Please re-open if it is still relevant. Thank you for your contribution!
I have a need to use a calendar widget with the following settings
The date has to be stored as "yyyy-MM-dd" in my database, but should be displayed as "dd-MMM-yyyy" in the textbox.
This worked fine until this line of code was added to the constructor:
this.settings.dateFormat = this.settings.format;
https://github.com/formio/formio.js/blob/a83b1badb52cea11fab5d1242b86beb5a0fa098e/src/widgets/CalendarWidget.js#L69Now, whatever I specify as Format is not being honored