Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@ng-dynamic-forms/ui-material
Advanced tools
npm install @ng-dynamic-forms/ui-material -S
@NgModule({
imports: [
// ...
ReactiveFormsModule,
BrowserAnimationsModule,
DynamicFormsCoreModule.forRoot(),
DynamicFormsMaterialUIModule
]
})
export class AppModule {}
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>
Control | Model | Required Property |
---|---|---|
Autocomplete | DynamicInputModel | list |
Checkbox | DynamicCheckboxModel | – |
Checkbox Group | DynamicCheckboxGroupModel | – |
Datepicker | DynamicDatePickerModel | – |
Input | DynamicInputModel | – |
Radio Group | DynamicRadioGroupModel | – |
Select | DynamicSelectModel | – |
Slider | DynamicSliderModel | – |
SlideToggle | DynamicSwitchModel | – |
Textarea | DynamicTextAreaModel | – |
<form [formGroup]="myFormGroup">
<dynamic-material-form [group]="myFormGroup"
[model]="myFormModel"
(matEvent)="onMatEvent($event)"></dynamic-material-form>
</form>
5.0.0
blur
, focus
and change
outputs have been prefixed with df
to avoid any interference with native control events bubbling up
(see updated README.md)asyncValidator
and validator
properties from DynamicFormGroupModel
and DynamicFormArrayModel
have been removed and replaced by asyncValidators
and validators
groupAsyncValidator
and groupValidator
properties from DynamicFormArrayModel
have been removed and replaced by groupAsyncValidators
and groupValidators
getAsyncValidator()
and getValidator()
function signatures from DynamicFormValidationService
have been changedcreateFormGroup()
function from DynamicFormService
now accepts AbstractControlOptions
instead of extra
asyncValidators
and validators
on FormArray
and FormGroup
FormHooks
via new property updateOn
on DynamicFormControlModel
DynamicFormControlComponent
instead of either / orvalidators
and asyncValidators
at runtime via new updateValidators()
and updateAsyncValidators()
functions on DynamicFormValidationService
(closes #342)DynamicDateControlModel
now accepts date values of type object
in order to support proprietary date representations, e.g. NgbDateStruct
in NG Bootstrap (closes #556)FAQs
Material UI package for NG Dynamic Forms
The npm package @ng-dynamic-forms/ui-material receives a total of 1,382 weekly downloads. As such, @ng-dynamic-forms/ui-material popularity was classified as popular.
We found that @ng-dynamic-forms/ui-material demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.