JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Text Boxes & Inputs › set maximum length
hello – is there some way to set the max length for an input field? something like this:
https://codepen.io/edwardsmarkf/pen/YzLLNLV
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/