Limit a dialog filed in AEM 6.2
Hi All,
https://github.com/nateyolles/aem-touch-ui-validation/blob/master/clientlib-touch-ui-validation/js/multifield.js Following this article by Nate Yolles.
My understanding is that I need to place this file under component clientlibs folder and have the dialog structure. Suppose I want to restrict a textfield say minimum 3 and maximum 5.
Tried various dialog options, but was not able to get this to work.
If someone can please provide me the complete dialog structure to restrict textfield to minimum of 3 and maximum of 5, would be really helpful.
<title
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/form/textfield"
fieldDescription=" component title"
fieldLabel="Title "
name="./Title"/>