For detailed documentation, please visit projet's wiki page
Live Demo page
- updated to angular 9
- added
<ngx-dropdown-for>
component - bugfixes
- added
<ngx-input-for>
(blur) event
- bugfixes
- added some styling. Now you should include 'node_modules/ngx-validator/lib/ngx-validator.css'
- Added support for ngModelOptions "{ updateOn: 'blur' }" in
<ngx-input-for>
- Removed console.log :|
- Breaking change: removed [labelClass], [inputClass] and [errorClass] input property from
<ngx-label-for>
,<ngx-input-for>
and<ngx-validator-for>
components . Now you can assign any class byclass="form control"
- added defaul css classes to
<ngx-label-for>
('ngx-label' and 'ngx-label-child'),<ngx-input-for>
('ngx-input' and 'ngx-input-child') and<ngx-validator-for>
('ngx-validator' and 'ngx-validator-child'). You can use them for additional styling
- Breaking change: changed IsValid and ModelErrors type from
Function
toPropertyFunction
.
- Added support for reactive forms.
- Added experimental ModelState decorator for class
- Removed need for all property initialization through the class constructor
- Some refactoring
- updated readme. New documentation for library
- bug fix in Required and RequiredIf.
- bug fix
- added support for custom template in ngx-input-for
<ngx-input-for
[model]="model"
name="power"
[(ngModel)]="model.power">
<ng-template
ngxCustomTemplateFor
let-model>
<kendo-dropdownlist
[data]="listItems"
[textField]="'text'"
[valueField]="'value'"
name="power"
class="form-control"
[(ngModel)]="model.power"
[valuePrimitive]="true">
</kendo-dropdownlist>
</ng-template>
</ngx-input-for>
- fixed placeholder translation error
- added RequiredIf validation attribute