This conversation has been locked due to inactivity. Please create a new post.
This conversation has been locked due to inactivity. Please create a new post.
Hi Community!
I wonder if you ever noticed that Coral Multifield (granite/ui/components/coral/foundation/form/multifield) dialog item does not block user from submitting an empty required field. At the same time, Granite multifield (granite/ui/components/foundation/form/multifield) dialog item does the job well.
So, please, share your experience: do you have the same?
P.S. My dialog configuration with Coral widget onboard
<coralmultifield
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/multifield"
composite="{Boolean}true"
fieldLabel="Actions"
required="{Boolean}true">
<field
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/form/fieldset"
acs-commons-nested="NODE_STORE"
name="./">
<layout
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/layouts/fixedcolumns"
method="absolute"/>
<items jcr:primaryType="nt:unstructured">
<column
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/container">
<items jcr:primaryType="nt:unstructured">
<field1
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/form/textfield"
emptyText="Field 1"
name="./f1"
required="{Boolean}true"/>
<field2
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/form/textfield"
emptyText="Field 2"
name="./f2"/>
<field3
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/form/textfield"
emptyText="Field 3"
name="./f3"/>
</items>
</column>
</items>
</field>
</coralmultifield>
Solved! Go to Solution.
Hi,
I created Multifield with Coral3, required works fine for me and doesn't submit dialog if field is mandatory.
I am using AEM6.3
I'll try with your code also.
Thanks
Arun
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies