My AEM version is 6.5. The nodes follow
<items jcr:primaryType="nt:unstructured">
<number
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/numberfield"
fieldLabel="number"
min="1"
name="./number"
required="{Boolean}true"/>
<text
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
fieldLabel="Text"
name="./text"
required="{Boolean}true"/>
</items>
Observe: (The numberfield and textfield are required) If these two fields are empty, and then click submit button, only numberfield shows error.
Then I fill numberfield, and click submit button, the text field shows error.


Expected: If the two fields are empty, both of them should show error when click submit button.