F
Filament10mo ago
dovy

Missing create button on relationship manager

I'm trying to learn how to use filament so I followed getting started demo project tutorial steb by step, however something is not working properly or I am missing something. It seems that I can't add treatment when editing pacient, which should work according to tutorial, what could be possible causes?
No description
2 Replies
Vp
Vp10mo ago
Do you have below code in your treatment relation manager table
->headerActions([
Tables\Actions\CreateAction::make(),
])
->actions([
Tables\Actions\EditAction::make(),
Tables\Actions\DeleteAction::make(),
])
->headerActions([
Tables\Actions\CreateAction::make(),
])
->actions([
Tables\Actions\EditAction::make(),
Tables\Actions\DeleteAction::make(),
])
dovy
dovy10mo ago
That fixed it, thank you very much