In Kendo UI for Angular, how do you set maxlength for the input element?
1 Answer, 1 is accepted
0
Accepted
Dimiter Topalov
Telerik team
answered on 17 Apr 2018, 10:08 AM
Hello Joel,
The ComboBox component will respect a max length form validation (but currently there is no built-in support for restricting the user's input to a certain length).
To provide the DOM maxlength attribute on the actual INPUT element, used internally by the ComboBox, you will need to access it and add the attribute programmatically, e.g.: