Top "Angular4-forms" questions

Questions related to Angular 4 template or reactive forms.

how to solve Circular dependency detected using Angular 4?

I am using Angular 4 simple form,Getting error when i compile the project using command line,How to solve the …

angular spring-boot angular4-forms angular4-httpclient
Validate zipcode to only allow length 5 or 7 digits in Angular 4

I am using Angular 4. I want to allow the zipCode input field to only take an input of length 5 or 7 …

angular angular4-forms angular-validation
Mocking a parent FormGroup via @input in Jasmine

So I have a child component that goes something like this export class ChildComponent implements OnInit { @Input('parentForm') public parentForm: …

unit-testing karma-jasmine angular-reactive-forms formbuilder angular4-forms
angular - Angular Material 2 Stepper Controls

I set up a linear stepper using the Angular Material 2 Stepper. I have forms in different components (component-a, component-b, component-c). …

angular angular-material2 angular4-forms
Angular binding object with array from component to view with ngModels

I tried to bind my model on my view, but I have a problem when I submit my form : I …

angular angular2-forms angular4-forms
patchvalue or setvalue of formbuilder does not mark field as dirty or touched

I have a multi step form where user traverses back and forth to the form. I save the form data …

angular angular4-forms
What is the ideal way to sort a FormArray object in Angular 2+?

I have a formArray which consist of multiple form groups. I need to sort the array dynamically based on a …

angular angular2-forms angular-forms angular4-forms
Angular4: select [selected] not work for the first time

There is a code: <select name="department" class="form-control select" [(ngModel)]="departments" formControlName="departmentControl"> <option *ngFor="let …

angular angular4-forms