18.0.9 • Published 8 months ago

nss-dynamic-ui-primeng v18.0.9

Weekly downloads
-
License
ISC
Repository
github
Last release
8 months ago

NG Dynamic Forms Prime NG UI

Installation

npm i @ng-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

18.0.9

8 months ago

18.0.8

8 months ago

18.0.7

8 months ago

18.0.6

8 months ago

18.0.5

8 months ago

18.0.4

8 months ago

18.0.3

8 months ago

18.0.2

8 months ago

18.0.1

8 months ago

18.0.0

8 months ago