April 3, 2020
Estimated Post Reading Time ~

How to limit the number of characters in a DAM Dialog text field

The Problem
You want to limit the number of characters that can be entered into a DAM Dialog's text field.

The Solution
If you are using a textarea xtype, you can just add maxLength as a property with the number of characters you would like it to be limited to, set by the value. This leverages an inbuilt validator to limit the number of characters.


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.