Hey guys, I am new to Filament and I was wondering is there a option to control visibility of multiple fields one below each other? I guess I am asking for some kind of wrapper where I can call
visible()
visible()
or
hidden()
hidden()
on. I read that there is
Section
Section
but I don't want to create a new section. One other option is to extract the callback and use it in every field (3 times if I have 3 fields)
Pseudo code what I am looking forSelect::make('my_field')Wrapper::make([ Select::make(...) Text::make(...) Text::make(...)])->visible(function (Get $get) { return $get('my_field') === 'value')})
Pseudo code what I am looking forSelect::make('my_field')Wrapper::make([ Select::make(...) Text::make(...) Text::make(...)])->visible(function (Get $get) { return $get('my_field') === 'value')})