You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: