@ng-dynamic-forms/ui-ng-bootstrap

NG Bootstrap UI package for NG Dynamic Forms

Stats

StarsIssuesVersionUpdatedCreatedSize
@ng-dynamic-forms/ui-ng-bootstrap
1,17310614.0.14 months ago4 years agoMinified + gzip package size for @ng-dynamic-forms/ui-ng-bootstrap in KB

Readme

NG Dynamic Forms NG Bootstrap UI

Installation

npm i @ng-dynamic-forms/ui-ng-bootstrap -S

Import

@NgModule({

    imports: [DynamicFormsNGBootstrapUIModule]
})

export class AppModule {}

Usage

with DynamicNGBootstrapFormComponent:

<form [formGroup]="myFormGroup">

    <dynamic-ng-bootstrap-form [group]="myFormGroup"
                               [model]="myFormModel"></dynamic-ng-bootstrap-form>
</form>

with DynamicNGBootstrapFormControlComponent:

<form [formGroup]="myFormGroup">

    <dynamic-ng-bootstrap-form-control *ngFor="let controlModel of myFormModel"
                                       [group]="myFormGroup"
                                       [model]="controlModel"></dynamic-ng-bootstrap-form-control>
</form>

Form Controls

Control Model Required Property
Calendar DynamicDatePickerModel inline: true
Checkbox DynamicCheckboxModel
Checkbox Group DynamicCheckboxGroupModel
DatePicker DynamicDatePickerModel
Input DynamicInputModel
Radio Group DynamicRadioGroupModel
Rating DynamicRatingModel
Select DynamicSelectModel
TextArea DynamicTextAreaModel
TimePicker DynamicTimePickerModel

Resources

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.