delboy1978uk
what is my custom page route?
maybe a dumb question, however!
i am creating a new page triggered by a table row action for my 'broken parts' resource (on list page
/admin/broken-parts
) , but what is the route?
my table actin is currenttly like this:
I tried several routes with no success, the one you see is what artisan routes:list
tells me3 replies
ExposesTableToWidgets throws error
So I am in a view order pages for an order resource, and i have added a widget. i'm trying to get the record, in the page I use
ExposesTableToWidgets
, but I get the livewire error Property [$activeTab] not found on component:
In the trait the code is as follows:
What am I missing?1 replies
Form select relationship help
I have a user which can have a
resource_no
, that points to the resources table however we do not use the ID, it points to the resources no
column, however my select inserts the ID, can anyone help?
I tried changing the name of the select to use the dot notation to resource.no
, but when I do that I get Unknown column 'resource' in 'field list'
9 replies
always filter?
I am creating a page, but the only items from the db should have a boolean flag checked.
I tried adding a filter, but that only put an optional filter at the top of the table, I need to always filter by this boolean column, can it be done?
4 replies
dispatched event not being listened to
In our API, we dispatch an event afte an item is created. I have tried doing the same on our Create page using this code, but nothing is listened to. How can I register my listeners with filament?
2 replies
Modal with custom view sortable javascript?
I have a page with a custom modal configured like so
we used to have our pages as plain livewire, and we were using
sortablejs
, however the javascript in the view does not seem to work, I can't even seem to get a console log! Can anyone help?5 replies
Modal with relationship table crud
Our old livewire edit order page had a row of items displaying on it. one of the columns was a count of associated rows from another table, which upon clicking would open a modal displaying those rows, can anyone tell me how this is possible? Currently I just display the row count as follows..
8 replies