@ng-dynamic-forms/ui-bootstrap
v18.0.0
Published
Bootstrap UI package for NG Dynamic Forms
Downloads
1,135
Maintainers
Readme
NG Dynamic Forms Bootstrap UI
Installation
npm i @ng-dynamic-forms/ui-bootstrap -S
Import
@NgModule({
imports: [DynamicFormsBootstrapUIModule]
})
export class AppModule {}
Usage
with DynamicBootstrapFormComponent
:
<form [formGroup]="myFormGroup">
<dynamic-bootstrap-form [group]="myFormGroup"
[model]="myFormModel"></dynamic-bootstrap-form>
</form>
with DynamicBootstrapFormControlComponent
:
<form [formGroup]="myFormGroup">
<dynamic-bootstrap-form-control *ngFor="let controlModel of myFormModel"
[group]="myFormGroup"
[model]="controlModel"></dynamic-bootstrap-form-control>
</form>
Form Controls
| Control | Model | Required Property |
|:------------------------------------------------------------------------: |:---------------------------: |:-----------------: |
| Checkbox | DynamicCheckboxModel
| – |
| Checkbox Group | DynamicCheckboxGroupModel
| – |
| Datepicker | DynamicDatePickerModel
| – |
| Input | DynamicInputModel
| – |
| Radio Group | DynamicRadioGroupModel
| – |
| Select | DynamicSelectModel
| – |
| TextArea | DynamicTextAreaModel
| – |
| Timepicker | DynamicTimePickerModel
| – |