@ng-dynamic-forms/ui-foundation

Foundation UI package for NG Dynamic Forms

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
1,160122May 29, 2021Jun 1, 2016Minified + gzip package size for @ng-dynamic-forms/ui-foundation in KB

Readme

NG Dynamic Forms Foundation UI

Installation

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

Import

@NgModule({

    imports: [DynamicFormsFoundationUIModule]
})

export class AppModule {}

Usage

with DynamicFoundationFormComponent:

<form [formGroup]="myFormGroup">

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

with DynamicFoundationFormControlComponent:

<form [formGroup]="myFormGroup">

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

Form Controls

Control Model Required Property
Checkbox DynamicCheckboxModel
Checkbox Group DynamicCheckboxGroupModel
Input DynamicInputModel
Radio Group DynamicRadioGroupModel
Select DynamicSelectModel
Switch DynamicSwitchModel
TextArea DynamicTextAreaModel

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.