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

$dirty flag initially set to true #12

Open
cohenadair opened this issue Jul 11, 2016 · 0 comments
Open

$dirty flag initially set to true #12

cohenadair opened this issue Jul 11, 2016 · 0 comments
Labels

Comments

@cohenadair
Copy link
Owner

Before user's actually interact with the form, Angular's $dirty flag is set to true. This is because number-input sets a default value and Angular assumes it was the user who made the change.

One solution, and probably the easiest would be to manually, in number-input, set the $dirty flag to false after the defaults have been set.

@cohenadair cohenadair added the bug label Jul 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant