Laravel-Backpack / community-forum

A workspace to discuss improvement and feature ideas, before they're actually implemented.
28 stars 0 forks source link

Custom Views (for ListOperation) - View not showing #1174

Closed Read2uk closed 1 day ago

Read2uk commented 2 days ago

Discussed in https://github.com/Laravel-Backpack/community-forum/discussions/1173

Originally posted by **Read2uk** October 1, 2024 Hi all, Just a quick question, not sure if I am doing something wrong. Basically want to add Custom Views but the dropdown button is not showing the added views (is not clickable on the dropdown) This is what the CrudController looks like: ![image](https://github.com/user-attachments/assets/830a0699-078a-4fa5-8c1c-7abf37b940fa) ![image](https://github.com/user-attachments/assets/d912567e-502c-46bb-b6d4-694d1d705522) ![image](https://github.com/user-attachments/assets/347ad5c6-8dc3-4c23-b932-f4900f616aa9) The 'Views' dropdown is not working, so can't select the other views ![image](https://github.com/user-attachments/assets/0c8a06ad-861d-4f14-a517-1259b2550efd)
Read2uk commented 2 days ago

On the last screenshot there is a log warning:

LOG.warning: method_exists(): Passing null to parameter https://github.com/Laravel-Backpack/community-forum/issues/2 ($method) of type string is deprecated in C:\localhost\test\vendor\backpack\pro\src\Http\Controllers\Operations\CustomViewOperation.php on line 101

jcastroa87 commented 1 day ago

Close because is duplicate