Hi Sarthak,
I am happy to share that the maxlength property is now available for use within the TextBox component.
More information on how to use it could be found here:
https://www.telerik.com/kendo-angular-ui/components/inputs/textbox/character-counter/
Regards,
Preslava
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
Hi Sarthak,
Currently, the TextBox component does not support such a restriction option. However, it would be a nice enhancement to have. That is why I converted this ticket to a feature request item and added your vote.
https://feedback.telerik.com/kendo-angular-ui/1485007-character-length-restrictions
This way people can help us determine the demand for this enhancement and prioritize our development tasks accordingly.
As a workarond the developer can set max length validator through a reactive form:
https://stackblitz.com/edit/angular-wmmjay-xhatds?file=app/app.component.ts
Regards,
Martin
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.