JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Text Boxes & Inputs › set maximum length › Reply To: set maximum length
October 3, 2022 at 7:01 am
#103804
Participant
Hi,
You can easily achieve that by selecting the inner input element of the smart-input and setting the attribute ‘maxlength’.
See here: https://codepen.io/dkeamcaksoem/pen/QWrrPzw
Alternatively, you can use textbox: https://www.htmlelements.com/demos/textbox/overview/
The smart-text-box has got maxlength
If you need further help, let us know!
Best Regards,
Svetoslav Borislavov
Smart UI Team
https://www.htmlelements.com/