How to call create from a resource into a modal?

I want to implement similar to the demo with the plus field. Select::make('mineral_id') ->suffixAction(fn (?string $state): Forms\Components\Actions\Action => Forms\Components\Actions\Action::make('visit') ->icon('heroicon-s-plus-circle') ->action(fn () => "") ->modalContent(fn (Aotp $record) => MineralResource::getUrl('create')), ) I tried this but I get an error
1 Reply
Want results from more Discord servers?
Add your server