After some teething problems with Date Picker element, I am absolutely loving it. However, there is one issue I wish I could solve with dmx-bind
that refuses to work, and that is format.
I’d love to be able to dynamically bind the format stored in the database with the date picker for localization reasons. I have tried the momentjs localizations, however, instead of L
returning an Australian date format (DD/MM/YYYY), it always returns (MM/DD/YYYY).
While dmx-bind
is the saving grace in half of what I do, this is the first time I haven’t been able to dynamically assign a value to an element. I assume this is because momentjs is handling the formatting server side and removing the format
attribute before DMX gets to bind?
Cheers
Michael
Community Page
Last updated:
Last updated: