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'm finding some trouble to configure the plugin to have a display format that's different from the value format.
I'd live to have "dd/mm/yyyy" displaying on the form input but I need the form to actually send "yyyy-mm-dd" to the backend.
I think I've followed the documentation, the plugin displays the format that I need but it also sends the same format when submitting the form.
Is it possible to let me know what I am doing wrong or if something is missing?
It's impossible to do it with datepicker alone. You need to separate the data for UI and the one to submit, and sync them using your program, like this:
Hi.
I'm finding some trouble to configure the plugin to have a display format that's different from the value format.
I'd live to have "dd/mm/yyyy" displaying on the form input but I need the form to actually send "yyyy-mm-dd" to the backend.
I think I've followed the documentation, the plugin displays the format that I need but it also sends the same format when submitting the form.
Is it possible to let me know what I am doing wrong or if something is missing?
Thanks!
The text was updated successfully, but these errors were encountered: