med-dynamic-form
v1.0.12
Published
Wrapper over formly for Ministry of Health
Downloads
56
Maintainers
Readme
MedTable
Wrapper over @ngx-formly/core library for Ministry of Health
Dependencies
$ npm i @ngx-formly/core primeng primeflex
Styles
node_modules/primeicons/primeicons.css
node_modules/primeflex/primeflex.css
node_modules/primeng/resources/primeng.min.css
Installation
NPM
$ npm i med-dynamic-form
YARN
$ yarn add med-dynamic-form
Register the component
Global
import { MedDynamicFormModule } from 'med-dynamic-form';
imports: [
MedDynamicFormModule,
]
Usage
Basic Usage
<med-dynamic-form
[form]="form"
[config]="config"
></med-dynamic-form>
Props
| Name | Type | Required |
| ----------------- | :--- | :--- |
| form
| FormGroup | true |
| config
| Array<MedFormFieldConfig > | true |