Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input autoformat won't work in some cases #229

Open
lucasjmatias opened this issue Nov 28, 2017 · 0 comments
Open

Input autoformat won't work in some cases #229

lucasjmatias opened this issue Nov 28, 2017 · 0 comments

Comments

@lucasjmatias
Copy link

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.

blur-issue

Is there a workaround?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant