up
@wf-dynamic-forms/ui-primeng
npm i @wf-dynamic-forms/ui-primeng
up

@wf-dynamic-forms/ui-primeng

Rapid form development library for Angular

by Udo Schöfer

10.0.9 (see all)License:ISCTypeScript:Built-In
npm i @wf-dynamic-forms/ui-primeng
Readme

NG Dynamic Forms Prime NG UI

Installation

npm i @wf-dynamic-forms/ui-primeng -S

Import

@NgModule({

    imports: [DynamicFormsPrimeNGUIModule]
})

export class AppModule {}

Usage

with DynamicPrimeNGFormComponent:

<form [formGroup]="myFormGroup">

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

with DynamicPrimeNGFormControlComponent:

<form [formGroup]="myFormGroup">

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

Form Controls

ControlModelRequired Property
AutoCompleteDynamicInputModellist
CalendarDynamicDatePickerModel, DynamicTimePickerModel
CheckboxDynamicCheckboxModel
ChipsDynamicInputModelmultiple: true
ColorPickerDynamicColorPickerModel
DropdownDynamicSelectModel
EditorDynamicEditorModel
InputMaskDynamicInputModelmask
InputSwitchDynamicSwitchModel
InputTextDynamicInputModel
InputTextAreaDynamicTextAreaModel
MultiSelectDynamicSelectModelmultiple: true
Radio GroupDynamicRadioGroupModel
RatingDynamicRatingModel
SliderDynamicSliderModel
SpinnerDynamicInputModelinputType: "number"

Custom UI Events

<form [formGroup]="myFormGroup">

    <dynamic-primeng-form [group]="myFormGroup"
                          [model]="myFormModel"
                          (pEvent)="onPEvent($event)"></dynamic-primeng-form>
</form>

Resources

No alternatives found
No tutorials found
Add a tutorial
No dependencies found

Rate & Review

100
No reviews found
Be the first to rate