For a form control, setting the _____ property ensures that the validation status is updated only when the control loses focus.
- markAsTouched
- updateOn
- updateValueAndValidity
- validator
In Angular, setting the updateOn property for a form control ensures that the validation status is updated only when the control loses focus.
Loading...
Related Quiz
- What is the primary purpose of using a Route Resolver in Angular?
- To manually check a component and its children, you can inject the _____ service and call its detectChanges() method.
- Your Angular application includes a form that users utilize to submit sensitive data. How can you ensure that the form data is only submitted once, even if the user accidentally clicks the submit button multiple times?
- How can you identify and select a specific element on a webpage in a Protractor test?
- In Angular, how can you prevent the default form submission behavior of a page reload?