A form validator library for deep validation and error extraction from Angular Forms
$ npm install --save angular-super-validatorimport{SuperForm}from"angular-super-validator";constfg=newFormGroup({id: newFormControl(0,[Validators.required]),name: newFormControl('',[Validators.required]),description: newFormControl('',[Validators.required,Validators.maxLength(200)]),isSkipped: newFormControl(false),});if(!fg.valid){consterrors=SuperForm.getAllErrors(fg);consterrorsFlat=SuperForm.getAllErrorsFlat(fg);console.log(errors);}Made with ❤️ in 🇬🇧