Closed pxpm closed 1 month ago
Reported in https://github.com/Laravel-Backpack/CRUD/issues/4550
If you set auto_focus => true on a field that was not on the primary tab, an error would be raised.
auto_focus => true
We check if field has tab, if it has we navigate to the tab before focusing on the field.
WHY
BEFORE - What was wrong? What was happening before this PR?
Reported in https://github.com/Laravel-Backpack/CRUD/issues/4550
If you set
auto_focus => true
on a field that was not on the primary tab, an error would be raised.AFTER - What is happening after this PR?
We check if field has tab, if it has we navigate to the tab before focusing on the field.