Getting Started: Where is the Treatments Form?
I'm going through https://filamentphp.com/docs/3.x/panels/getting-started and stopped at 'Introducing widgets'. However, I do not see the Treatments form that I added the code for. When I go to Edit Patient, I see an empty list of Treatments but no way to add it. See screeshot:
10 Replies
Try add
public function isReadOnly(): bool
{
return false;
}
In the TreatmentRelationmanager
I added that, but still not seeing a way to add Treatments
When you click a row on the table, you should go to the VIEW action, where you can create Treatments. There, you should have a button to edit the Patient.
You've setup the table but haven't yet added a createaction and a form for it
or an attach action if you have a treatments table
@toeknee Does the guide go through this or do I need to figure it out on my own
The docs are not guides persay. They are documentation on functions not a complete solution to build. But I would assume so!
Have a look at the demo app an also don't forget the apps at:
https://laraveldaily.com/tag/filament?source=homepage
Thanks @toeknee the demo app will help. Do you by change have an example of a table "Bulk Action" where you can make changes to a few fields (i.e. category, status, etc). All the exampels only have "Delete"
Simplified version:
Thanks @Dennis Koch . I have another question but will open a new thread