In Angular, the method used to add a new form control to a FormArray dynamically is ____.
- addFormControl
- appendControl
- createControl
- pushControl
In Angular, the method used to add a new form control to a FormArray dynamically is appendControl. This method allows you to dynamically add a new form control to an existing FormArray.
Loading...
Related Quiz
- When testing a directive, which testing utility can be used to interact with a directive's host element?
- How can you simulate user interactions with an element when testing a directive?
- What is a directive in Angular?
- Why might you want to use async/await syntax in your Protractor tests?
- The _____ decorator in a component class binds a property inside the component to a value that is passed from outside the component.