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(),
                ]),
            ])
Was this page helpful?