FilamentF
Filament3y ago
Omar

How can I make it work?

I have tried to generate the condition in the second repeater but the condition does not work, what I want is that if the variable inputs->type == 'Select' the repeater is shown, if not hidden
image.png
image.png
Solution
  1. Select::make('type')->reactive()
  2. Repeater::make('options')->hidden(fn(callable $get) => $get('type') == 'select')
Was this page helpful?