F
Filament2mo ago
b00na

ViewRecord - Adding Select Dropdown

Hi folks, New to filamentphp and long time fan of VueJS/Inertia.js I have created a "View" for my OrdersResource. With it being a View page I want to carry out some simple actions such as changing the status of an order. I've looked in the docs etc but can't really find a way to implement a dropdown or something similar on the view page which would then update the status?
1 Reply
Patrick Boivin
Patrick Boivin2mo ago
Just a thought - if the status is a regular column on the orders table, could you add a status select field into the form or the sidebar? Oh, just realized that it's a View page. Maybe the Update Status action could show a modal, with a select field?