angular.number-input icon indicating copy to clipboard operation
angular.number-input copied to clipboard

$dirty flag initially set to true

Open cohenadair opened this issue 9 years ago • 0 comments

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 avatar Jul 11 '16 12:07 cohenadair