Validating required fields in object-repeat inside dialog

I have a dialog which contains an object-repeat with required text-input components. In the dialog button-group I have the button Save with validate=“true”, but validation doesn’t work. It simply always runs on-press function (even with empty required fields).
Fields in the object-repeat are required and the button has validate attribute.
Do I miss something?

This seems to be a bug with <object-repeat> inside of a <dialog> component. Thanks for letting us know @khilda , we will let you know when this gets fixed. In the meantime I would recommend implementing the validation in JS or not using the <dialog> component, whichever is easier for you.

1 Like