samedi 21 février 2015

Applying a date format to an input box in Ember using an input helper

I have just started using Ember.js and would want to format the date in a bound input field to (DD/MM/YYYY) format using the moment.js library. Following the video on the Ember.js website, I did create up a mock application and it is working correctly but with a nagging bug. My date is being formatted correctly in the display but when editing, the input box does not allow me to manually add a date and my binding becomes messed up.


I have banged my head against the keyboard several times and can't find where I am getting it wrong. in edit mode


I have created a jsbin here.





Aucun commentaire:

Enregistrer un commentaire