ui-ionic-zrp
v1.4.19
Published
This is a specific version of Ionic UI package for ng2 Dynamic Forms designed for one specific project.
Downloads
3
Readme
ng2 Dynamic Forms Ionic UI - ZRP Version
Disclaimer
This project was was not meant to be generic. It's specific for one project design. Maybe, in future implementation, we might decide to launch a more generic version.
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
| – |