You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
realtebo
changed the title
[Bug] Additing a button to 'end' of 'line' doesn't position it after edit button
[Bug] Adding a button to 'end' of 'line' doesn't position it after edit button
Dec 23, 2020
actually you should add your ( list ) related buttons inside thesetupListOperation() function :( i'm aware that the doc says you should add it inside setup but i guess the doc specially in this part not updated @tabacitu
@realtebo try doing that inside your setupListOperation() instead. Additionally, consider the fact that the operation setup methods are done in the order in which the traits are used. So reordering the operation traits at the top of your CrudController will also reorder the buttons.
Bug report
What I did
In my setup()
In setupListOperation()
What I expected to happen
I expect to see preview, edit and THEN my 'delete' button
What happened
Like you can see, my customized delete button is placed BEFORE 'update' and not at the 'end' of 'line'
What I've already tried to fix it
I don't know what to do
Backpack, Laravel, PHP, DB version
When I run
php artisan backpack:version
the output is:The text was updated successfully, but these errors were encountered: