Top "Angular2-form-validation" questions

Angular FormArray display validation errors

I have Angular form that is built with help of FormBuilder. Form contains a FormArray which has as many fields …

angular forms typescript validation angular2-form-validation
at least one field is required in angular 4 forms

I'm using angular 4 forms and I have some fields. and first_name, last_name and company are really important for …

angular required angular4-forms angular2-form-validation
Angular 6 reactive form validation not working with custom validator

So I created a custom validator to validate that a "New Password" field and a "Confirm Password" field match. On …

javascript html angular angular-reactive-forms angular2-form-validation
Angular ng select required option

I cannot find out how to use the required option in ng-select. I have tried this: <ng-select #skills required […

angular angular-ngselect angular2-form-validation
Angular 5 Form validation on form array fields

I am working on a project where I want to put required validation on a form array field. Here is …

angular angular-reactive-forms angular2-form-validation
select option with default value undefined with required attribute does not work but value empty

I have a dropdown of countries <select #countryInput name="country" [(ngModel)]="room.countryId" required> <option [selected] [value]="…

angular angular2-form-validation
How to validate mat-datepicker input using pattern?

I'm using mat-datepicker and the user is able to manually enter in a date. I would like to be able …

angular datepicker angular-material2 angular-forms angular2-form-validation