F
Filament9mo ago
lmtc

Builder Action Form

Can I add additional form fields to builder components using actions without creating additional pages so it submits into the same builder component json? something like:
->extraItemActions([
Action::make('addStyling')
->icon('heroicon-m-paint-brush')
->action(function (array $arguments, Builder $component): void {
$itemData = $component->getItemState($arguments['item']);})
->form([
Section::make('example')->schema([
TextInput::make('field_label')
])
]),
->extraItemActions([
Action::make('addStyling')
->icon('heroicon-m-paint-brush')
->action(function (array $arguments, Builder $component): void {
$itemData = $component->getItemState($arguments['item']);})
->form([
Section::make('example')->schema([
TextInput::make('field_label')
])
]),
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server