Replies: 4 comments 1 reply
-
Hello @susanu You can set the behaivor of line buttons as our docs says. You can set it as global or for any controller. Cheers. |
Beta Was this translation helpful? Give feedback.
-
Hey @susanu thanks for the suggestion. I think I get the idea, having like a "threshold" for displaying the buttons as dropdown. I think it's an interesting use-case. I've also thought about other scenario, that would be to have some buttons that never go to the dropdown, or you want to always display 2 buttons and any remaining in a dropdown. I don't think we are going to invest time on this for the time being, but I would happily review a PR in case it doesn't make a total mess of this feature. Talking specifically about what you required, most of the work is done in https://github.com/Laravel-Backpack/CRUD/blob/6141ed3ffdd3a828fa7a07a0183c7daac98c8aec/src/resources/views/crud/inc/datatables_logic.blade.php#L405 I think we can introduce a new operation setting like: Let me know if you need my help with something 🙏 Cheers |
Beta Was this translation helpful? Give feedback.
-
Hi @pxpm, Just created a pull request here: Laravel-Backpack/CRUD#5568 Thank you! |
Beta Was this translation helpful? Give feedback.
-
Great, thanks a lot. We will continue conversation there. Cheers |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys,
I really like the line dropdown with all action buttons but would be cool to disable it if only 1 button is shown.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions