#Builder Component - group and filter

5 messages · Page 1 of 1 (latest)

radiant dagger
#

I am using the Filament\Forms\Components\Builder and already have a lot of Blocks.

Is there a way, to group Blockssomehow in the Picker? And can I add a search/textfilter in the picker?

First I thought I could do it by changing it to

Builder::make($name)
  ->addAction(fn(Action $action) => $action
    ->icon('heroicon-m-plus')
    ->schema([
          TextInput::make("xx"),
    ])
  )

The Icon is set correclty, but schema does nothing. I guess its been overwritten bite Builder.

radiant dagger
#

For now, I overwritted the vendor/filament-forms/components/builder/block-picker.blade.php. Not pretty, but somehow working.

loud niche
radiant dagger
#

What do you mean with that? Right now, I am just "overwriting" the blade template (inside my resources/views/vendor directory

meager gull