@ng-dynamic-forms/ui-basic

Basic UI package for NG Dynamic Forms

Stats

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

Readme

NG Dynamic Forms Basic UI

Installation

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

Import

@NgModule({

    imports: [DynamicFormsBasicUIModule]
})

export class AppModule {}

Usage

with DynamicBasicFormComponent:

<form [formGroup]="myFormGroup">

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

with DynamicBasicFormControlComponent:

<form [formGroup]="myFormGroup">

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

Form Controls

Control Model Required Property
Checkbox DynamicCheckboxModel
Checkbox Group DynamicCheckboxGroupModel
Input DynamicInputModel
Radio Group DynamicRadioGroupModel
Select DynamicSelectModel
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.