angular-moment-picker
angular-moment-picker copied to clipboard
Input autoformat won't work in some cases
I tested on oficial plunkers
like this: https://embed.plnkr.co/rWtdhO
For example, I want my date to be formatted like 'YYYY-MM-DD' on blur. At first it works, but if I select a value and focus and unfocus about two or three times it stops formatting.
As you can see below, it may get very messy and cofusing for the user to correct the value, since the format stops working. I tried to use along a Mask component, but both components were asking for isolated scope, so it was impossible to use.
Is there a workaround?