Bird
0
0

Which Angular form state indicates that the user has changed the value of a form control?

easy🧠 Conceptual Q2 of 15
Angular - Reactive Forms
Which Angular form state indicates that the user has changed the value of a form control?
Atouched
Bpristine
Cdirty
Dvalid
Step-by-Step Solution
Solution:
  1. Step 1: Define 'dirty' state in Angular forms

    'Dirty' means the user has modified the value of the form control from its initial value.
  2. Step 2: Contrast with other states

    'Touched' means focus lost, 'pristine' means untouched, 'valid' means passes validation. Only 'dirty' means value changed.
  3. Final Answer:

    dirty -> Option C
  4. Quick Check:

    dirty = value changed by user [OK]
Quick Trick: Dirty means user changed the input value [OK]
Common Mistakes:
MISTAKES
  • Mixing 'dirty' with 'touched'
  • Thinking 'pristine' means changed
  • Confusing 'valid' with value change

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Angular Quizzes