JSPM

  • Created
  • Published
  • Downloads 2735
  • Score
    100M100P100Q126790F
  • License ISC

NG Bootstrap UI package for NG Dynamic Forms

Package Exports

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

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@ng-dynamic-forms/ui-ng-bootstrap) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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