'form_options' => [
'validation_groups' => new GroupSequence(['Step1', 'ApiCheckStep1']),
],
Short story. I need to validate field, and then access external API to check if this value is not already taken.
If i set GroupSequence in Data object it works, but it sequentially validates given groups on every step and this means that on step 2>3 i have to wait for validation from step1.
Short story. I need to validate field, and then access external API to check if this value is not already taken. If i set GroupSequence in Data object it works, but it sequentially validates given groups on every step and this means that on step 2>3 i have to wait for validation from step1.
My code sample throws:
Is there any workaround?