Unplanned
Last Updated: 18 Sep 2020 11:15 by ADMIN
Sarthak
Created on: 17 Sep 2020 08:26
Category: TextBox
Type: Feature Request
1
Character length restrictions
How do I make the textbox accept at max 50 chars.user shouldn't be able to type any further if it's crossed 50chars.
1 comment
ADMIN
Martin
Posted on: 18 Sep 2020 11:15

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/.