April 3, 2020
Estimated Post Reading Time ~ < 1 Min

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.
aem4beginner.blogspot


By aem4beginner

No comments:

Post a Comment

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

Ad Blocker Detected :(

Please consider supporting us by disabling your ad blocker.

Please Disable your adblocker and Refresh the page to view the site content.