Top "Angular-validation" questions

Angular 2+ validation patterns, syntax and properties.

Angular 5: Module not found: Error: Can't resolve '@angular/forms/src/validators'

I am trying to create a custom validator using directive but getting below error. ERROR in ./src/app/CustomValidators/white-space-validator.…

angular typescript angular-directive customvalidator angular-validation
Reactive Angular form to wait for async validator complete on submit

I am building a reactive angular form and I'm trying to find a way to trigger all validators on submit. …

javascript angular angular-reactive-forms angular-validation
Angular reactive forms - manually trigger validation of parent FormGroup when child FormGroup changes

I have an Angular component that defines an FormGroup, which has a nested FormGroup as one of its controls. The …

javascript angular angular-reactive-forms angular-validation
Angular 2 - Error: No provider for FormControl

I writing a library for the community, which needs access to the form control and listens on the value changed. …

angular angular-directive angular-providers angular-validation
Angular 2 : Validate child component form fields from the parent component

Problem statement : Parent component having <form> tag and some <input> tags inside it, and child component …

javascript angular typescript angular2-forms angular-validation
How to differentiate multiple Validators.pattern

I have an input where user needs to type a longitude. I want to be able to display different error …

angular validation angular-validation
Fire validation when focus out from input in angular?

Email validation is being fired as we keep typing in textbox. I want this validation to be fired when user …

angular angular-validation angular4-forms
FormGroup get field value: TypeError: Cannot read property 'get' of undefined

I'm trying make a validation for "passwordConfirm" field, but i get a stange error: ERROR TypeError: Cannot read property 'get' …

angular angular-forms angular-validation
multiple custom validators in reactive form angular 2

I have two custom validator in a reactive form, I call function below to create form in component constructor: private …

angular angular-reactive-forms custom-validators angular-forms angular-validation