Form
grupojaque-ngx-commons › Globals › "lib/helpers/form/form.helper"
Form Helper
This module contains methods that directly interact with Reactive Forms
Index
Functions
Functions
controlsMarkAsTouched
▸ controlsMarkAsTouched(form
: FormGroup): void
Defined in lib/helpers/form/form.helper.ts:16
This function mark all controls like touched
Parameters:
Name | Type | Description |
---|---|---|
form | FormGroup | of type FormGroup |
Returns: void
passwordMatch
▸ passwordMatch(form
: AbstractControl): object | null
Defined in lib/helpers/form/form.helper.ts:38
This function is selected to evaluate the confirmation of the assignment of a password
(password is used in registration flows, password reset or modification of profile data),
where the required name of these fields is password
and confirmPassword
Parameters:
Name | Type | Description |
---|---|---|
form | AbstractControl | AbstractControl |
Returns: object | null
Return a object null or an object with errors