@weblauncher/material-form
v0.14.3
Published
Material form component that generates a form based of fields and layout
Downloads
47
Maintainers
Readme
Material Form
This is an Angular Material component library for having a material design form.
Installation
Install dependencies
npm i @weblauncher/material-ckeditor @weblauncher/material-file-input @ckeditor/ckeditor5-angular @ckeditor/ckeditor5-build-classic
Install library
npm i @weblauncher/material-form
Usage
Import module into your project app.module.ts
or other sub-module:
import { MatFormModule } from '@weblauncher/material-form';
In your templates now you can add
<mat-form
[fields]="fields"
[layout]="layout"
[disableOnInvalid]="true"
(ngSubmit)="submit($event);"
(valueChanges)="formValueChanged($event)"
></mat-form>