© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
2 replies
Zetto

AttachAction not working for custom select

I'm trying to customize the attach action select and add more forms for pivot table attributes, however it does not change (it still the search select) and there is no error or exception showing. I don't know if this is a bug or cache thing (clearing view and cache does notwork)

example code for the pivot attribute,

->headerActions([
                Tables\Actions\AttachAction::make()->form(fn (AttachAction $action): array => [
                    $action->getRecordSelect(),
                    Forms\Components\TextInput::make('role')
                        ->required(),
                ]),
            ])
->headerActions([
                Tables\Actions\AttachAction::make()->form(fn (AttachAction $action): array => [
                    $action->getRecordSelect(),
                    Forms\Components\TextInput::make('role')
                        ->required(),
                ]),
            ])
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

AttachAction custom select option labels
FilamentFFilament / ❓┊help
3y ago
Custom AttachAction
FilamentFFilament / ❓┊help
3y ago
AttachAction select different relationship?
FilamentFFilament / ❓┊help
2y ago
Select::selectablePlaceholder(false) not working with relationships
FilamentFFilament / ❓┊help
2y ago