I followed the this video to create a reactive form to input data into an Angular application I am working on. It does what I want for the most part, however, I have added an additional control(“setNumber”) to be added in the reactive form array, but instead of inputting a value through the input fields of “name” and “gender”, to
Tag: angular-reactive-forms
How to access the properties of a formArray in HTML?
I’m trying to implement a reactive Angular form, but, I can’t access the properties of the array on HTML, I never worked with reactive form, if anyone could guide me I would be grateful! I’m using Angular 10 and I have the following code: TS HTML Models error-handler.service.ts:87 Error: Cannot find control with path: ‘workStations -> 0 -> rank’ @
Why mat-option text is not rendering in view sometimes?
I have a form where there is a mat-select field. The mat-select field will show value even if the option doesn’t match the list of options. Please take a reference of this stackblitz example. In this example, on button click, I am adding a value in a form that doesn’t match with theJSON values. The same thing I have implemented