Angular - Template-Driven Forms
You want to disable the Submit button only after the user has changed any input in the form and the form is invalid. Which condition correctly uses
ngForm states to achieve this?ngForm states to achieve this?myForm.form.invalid is true if form is invalid; myForm.form.dirty is true if user changed any input.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions