Wizard step afterValidation get only form fields of that step only

Hello, when i use ->afterValidation(function (array $state) { } on a wizard step, it will bring me complete form fields, and that's not good because each wizard step is part of a diferent entity, and those entities have some fields named the same, and I can't rename them unfortunately, is it possible to get inside the afterValidation only fields of that step?
1 Reply
jamesro
jamesroOP7d ago
I was thinking of setting ->statePath('step-name') for each step, is that the correct aproach ?

Did you find this page helpful?