@ng2-dynamic-forms-zrp/ui-ionic
v1.4.16
Published
Ionic UI package for ng2 Dynamic Forms
Downloads
2
Maintainers
Readme
ng2 Dynamic Forms Ionic UI
Installation
npm install @ng2-dynamic-forms/ui-ionic -S
Import
@NgModule({
imports: [
// ...
ReactiveFormsModule,
DynamicFormsCoreModule.forRoot(),
DynamicFormsIonicUIModule
]
})
export class AppModule {}
Usage
<form [formGroup]="myFormGroup">
<dynamic-form-ionic-control *ngFor="let controlModel of myFormModel"
[group]="myFormGroup"
[model]="controlModel"></dynamic-form-ionic-control>
</form>
Form Controls
| Control | Model | Required Property |
|:-------------------------------------------------------------------------: |:--------------------------------------------------: |:-----------------: |
| Checkbox | DynamicCheckboxModel
| – |
| Checkbox Group | DynamicCheckboxGroupModel
| – |
| DateTime | DynamicDatePickerModel
, DynamicTimePickerModel
| – |
| Input | DynamicInputModel
| – |
| Radio Group | DynamicRadioGroupModel
| – |
| Range | DynamicSliderModel
| – |
| Select | DynamicSelectModel
| – |
| TextArea | DynamicTextAreaModel
| – |
| Toggle | DynamicSwitchModel
| – |