errorMsgOnSubmit
To determine weather error messages of the fields need to show on field change or only on form submit
Type: boolean
Default: false
import {NgMatFormOptions,NgMatFormFields} from 'ng-mat-forms';
// other imports here...
export class MyTestApp {
public ngMatFormsOptions: NgMatFormOptions = {
column: 3,
errorMsgOnSubmit: false //Field Changes trigger.
// other options...
};
}
Last updated
Was this helpful?