pinpointzero
Automatic Filament ViewAction on Livewire component
I have a Filament table on a Livewire component.
I want to be able to jump to the following URL:
/users?id=2
and have the component instantiate, but also to have the ViewAction for that specific user to fire.
This should be possible, but I just don't know how to go about it.6 replies
Spurious errors on ViewAction/EditAction upon saving.
Hey everyone,
I hope you're all well.
I have several Filament forms which are embedded within Livewire components, not panels. This was done under instruction.
There are over 50 Livewire pages which contain embedded Filament PHP tables, of the form -
The tables and forms look well defined and are identical throughout the codebase.
However, on three of the connected forms, when I attempt to click "view" as a
ViewAction
, I am getting the following error -
Also, when editing and attempting to save, I get this error -
Now, I know I'm doing something wrong.
My model relationships are correct, and, my casts are correct.
It must be something simple.
If anyone has experienced this, please let me know how you resolved it.
Thanks, and be safe,
Darryl2 replies
ViewField Form error.
I have a form with a ViewField in it.
When saving, I get an error stating that
users
does not exist.
Aside from the fact it does (in my Company model), I am unsure as to why - as a ViewField, that Filament is attempting to save the users.
Am I getting something wrong with the the nomenclature?6 replies
Filament table in Livewire component!
Hey everyone, I hope you're all well!
Just a quick one.
I have a Livewire component, and a Filament table within.
It's all set-up and works well.
However, even though I have a $form in the component, when I click on View/Edit, the modals are empty.
Am I going wrong?!
All help much appreciated!
6 replies