To define custom validators in reactive forms, you need to implement a function that returns a/an _____ .
- Array
- Object
- Observable
- ValidatorFn
In reactive forms, custom validators are implemented as functions that return a ValidatorFn, which is used to validate form controls.
Loading...
Related Quiz
- What is the main difference between Observables and Promises in Angular?
- Using lazy loading, Angular loads additional JavaScript files when the user _______.
- When creating a custom pipe, implementing the _____ interface ensures that the pipe recalculates only when the input values change.
- The queryParamsHandling property of the _______ object allows you to specify how Angular should merge query parameters with the current query parameters.
- In a NgRx setup, the _______ function is used to create a new state object by copying the existing state and making changes to it.