Avoid form submission on error
I managed having unique field values like described in this post:
https://discord.com/channels/883083792112300104/1134208647052935198/1134211305763516517
But the form is still submitted. Is there a way to avoid form submission when there was an error in one of the
Repeater
fields?3 Replies
unique shouldn't be submitted if it fails validation. You need to trigger a failure too, not just an error message
yeah, but how can i trigger the failure from within
afterStateUpdated
method?