color
color of the form field.
Type: ThemePalette
Default: primary
import {NgMatFormOptions,NgMatFormFields} from 'ng-mat-forms';
// other imports here...
export class MyTestApp {
public ngMatFormsOptions: NgMatFormOptions = {
column: 3,
errorMsgOnSubmit: false, //Field Changes trigger
color: primary
// other options...
};
}
Last updated
Was this helpful?