How to get active tab in beforeValidation()

What I am trying to do: I have a Wizard with Steps. In the first Step, I have two tabs: 1. The first is custom component, where you can select packages. 2. The second is a custom component, where the user can put together the package by him self with selects. I validate the most stuff in beforeValidation() of the Wizard Step, cause they are also really custom and it was easier than to define them in the rules. But now i need to know, which of the two steps is selected, cause i only need to validate the active tab. Alternate: On switch tab set the package id (custom package_id = 0). Additional: I found this https://github.com/filamentphp/filament/discussions/11375 but its only in non-static context. The forms are normally static and i dont wanna change that
GitHub
Any way to retrieve the current active tab from a tabs form compone...
Package Panel builder Package Version v3.2 How can we help you? Hi everyone. I need to get the current tab of my tab component when the create method runs. But nothing really seems to work public ?...
1 Reply
Atreides
Atreides3mo ago
I think i will build a new custom component now since i did not found an answer after 8 hours research
Want results from more Discord servers?
Add your server