Hi Team,
I have added maxLength(50) and allowBlank(false) properties to the Touch UI dialog's node which extends granite/ui/components/foundation/form/textarea (sling:resourceType). But whenever I entered nothing and clicked on tick mark (✔), it is not restricting me. Also I'm able to enter more than 50 characters in the text area. Are these bugs in Touch UI? Please let me know how can I achieve these in Touch UI. Your comments are welcome.
Thanks,
AryA.
Solved! Go to Solution.
Views
Replies
Total Likes
"maxlenth"(lowercase 'l') is the property for limiting the number of characters in a textfield.
Views
Replies
Total Likes
We can add "required" property with value "true" to make a field as mandatory in granite ui. still not identified to validate characters length.
Views
Replies
Total Likes
"maxlenth"(lowercase 'l') is the property for limiting the number of characters in a textfield.
Views
Replies
Total Likes