Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ng-dynamic-forms/ui-primeng

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ng-dynamic-forms/ui-primeng

PrimeNG UI package for NG Dynamic Forms

  • 5.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
130
decreased by-34.34%
Maintainers
1
Weekly downloads
 
Created
Source

NG Dynamic Forms Prime NG UI

Installation

npm install @ng-dynamic-forms/ui-primeng -S

Import

@NgModule({

    imports: [
        // ...
        ReactiveFormsModule,
        DynamicFormsCoreModule.forRoot(),
        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
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

Keywords

FAQs

Package last updated on 22 Nov 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc