Socket
Socket
Sign inDemoInstall

@ng-dynamic-forms/ui-primeng

Package Overview
Dependencies
40
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @ng-dynamic-forms/ui-primeng

PrimeNG UI package for NG Dynamic Forms


Version published
Weekly downloads
188
increased by28.77%
Maintainers
1
Created
Weekly downloads
 

Changelog

Source

9.1.0

Features

A new UI package @ng-dynamic-forms/ui-ngx-bootstrap has been released. This allows using ngx-bootstrap with Bootstrap 4 now. Thus the package @ng-dynamic-forms/ui-bootstrap from now on is only recommended if still need to support Bootstrap 3.correctly

  • appendTo input now works in PrimeNG Dropdown and Multiselect
  • decimalSeparator, thousandSeparator, formatInput and size inputs now works in PrimeNG Spinner

Readme

Source

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

Keywords

FAQs

Last updated on 12 Nov 2019

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc