JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Data Grid › How to form input permit only a few char › Reply To: How to form input permit only a few char
September 19, 2022 at 12:14 pm
#103700
svetoslav_borislavov
Participant
Hi,
You can use the built-in validation in the Form component.
Each control can have an array of validation rules.
You can have a validation rule with a regex pattern.
Here is a link for a quick demo with your desired behaviour: https://codepen.io/svetoslavb04/pen/YzLVjbN?editors=0010
If you have any further questions, do not hesitate to contact us!
Best Regards,
Svetoslav Borislavov
Smart UI Team
https://www.htmlelements.com/