I am using multifield in my component for the user config the content. I create multifield in multifield as below and set the required is true.
And the form for the user config content as below:
When I add field at the first-time, it can not validate the required field. I can click Save button to save the content with null required fields.
After save, I go to edit content of the component. The existing group can validate required field when I add new page.
However, if I add new group and add new page field in new group. It cann't validate the required fields.
Please help me,
Why AEM is wrong?
How to fix it?
Thank you so much,
If we need to use ui multifield then we need to update the logic in multifield js to support this scenario, no other way
Please check multifield js which is getting called and debug the code when you submit the dialog.