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

@ng-dynamic-forms/ui-material

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-material

Material UI package for NG Dynamic Forms

  • 6.0.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

NG Dynamic Forms Material UI

Installation

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

Import

@NgModule({

    imports: [
        // ...
        ReactiveFormsModule,
        BrowserAnimationsModule,
        DynamicFormsCoreModule.forRoot(),
        DynamicFormsMaterialUIModule
    ]
})

export class AppModule {}

Usage

with DynamicMaterialFormComponent:

<form [formGroup]="myFormGroup">

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

with DynamicMaterialFormControlComponent:

<form [formGroup]="myFormGroup">

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

Form Controls

ControlModelRequired Property
AutocompleteDynamicInputModellist
CheckboxDynamicCheckboxModel
Checkbox GroupDynamicCheckboxGroupModel
ChipsDynamicInputModelmultiple: true
DatepickerDynamicDatePickerModel
InputDynamicInputModel
Radio GroupDynamicRadioGroupModel
SelectDynamicSelectModel
SliderDynamicSliderModel
SlideToggleDynamicSwitchModel
TextareaDynamicTextAreaModel

Custom UI Events

<form [formGroup]="myFormGroup">

    <dynamic-material-form [group]="myFormGroup"
                           [model]="myFormModel"
                           (matEvent)="onMatEvent($event)"></dynamic-material-form>
</form>

Resources

Keywords

FAQs

Package last updated on 28 Apr 2018

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