You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
Currently ngMaxlength validation can be applied to inputs only, so can't be applied to custom controls. So if I want to use it with ngModel without input field I have to write custom 100% duplicated separate directive and use it. It would be great to have this validator to be applicable to anything that has ngModel attached, not only inputs.
Currently ngMaxlength validation can be applied to inputs only, so can't be applied to custom controls. So if I want to use it with
ngModel
without input field I have to write custom 100% duplicated separate directive and use it. It would be great to have this validator to be applicable to anything that hasngModel
attached, not only inputs.Same applies to
ngMinlength
etc.Example directive I have to write:
which almost fully duplicates https://github.com/angular/angular.js/blob/master/src/ng/directive/input.js#L1009-L1018
The text was updated successfully, but these errors were encountered: