Angular - Reactive FormsWhich Angular form state indicates that the user has changed the value of a form control?AtouchedBpristineCdirtyDvalidCheck Answer
Step-by-Step SolutionSolution:Step 1: Define 'dirty' state in Angular forms'Dirty' means the user has modified the value of the form control from its initial value.Step 2: Contrast with other states'Touched' means focus lost, 'pristine' means untouched, 'valid' means passes validation. Only 'dirty' means value changed.Final Answer:dirty -> Option CQuick Check:dirty = value changed by user [OK]Quick Trick: Dirty means user changed the input value [OK]Common Mistakes:MISTAKESMixing 'dirty' with 'touched'Thinking 'pristine' means changedConfusing 'valid' with value change
Master "Reactive Forms" in Angular9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallPerf
More Angular Quizzes Reactive Forms - FormBuilder service - Quiz 5medium Routing - Route guards (canActivate, canDeactivate) - Quiz 12easy Routing - RouterModule configuration - Quiz 10hard Routing - RouterLink for navigation - Quiz 5medium RxJS Operators - map operator for transformation - Quiz 1easy RxJS Operators - filter operator for selection - Quiz 9hard RxJS and Observables Fundamentals - Subscribing to observables - Quiz 12easy Services and Dependency Injection - Why DI makes testing easier - Quiz 13medium Template-Driven Forms - Form submission handling - Quiz 15hard Template-Driven Forms - Two-way binding in forms - Quiz 1easy