editable_select trigger on blur BUG or ? #762
-
I turned off but it is executed onblur. Video_2023_11_28-1_edit_0.mp4 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Yes, this is a BUG. When adding a wrapper to the editable_select, the update route is lost. Please have someone check and confirm. |
Beta Was this translation helpful? Give feedback.
-
Hey @pxpm, I tested this with a simple wrapper. YES, it BREAKS the column. URL becomes undefined because of new element in between. I tried the CRUD::column('select_from_array')
->label('Select')
->type('editable_select')
->options(['one' => 'One', 'two' => 'Two', 'three' => 'Three'])
->wrapper(['class' => 'bg-primary',]); And, I tried to transfer the issue to Laravel-Backpack/editable-columns. |
Beta Was this translation helpful? Give feedback.
-
Hey @AdamovicBoban, thanks for the report. I've just tagged editable columns 3.0.3 with the fix for this issue. Regarding the You can disable the If you want to disable the save on change and save on blur in this column I think you probably don't want an editable column in that scenario. Thanks again for the report @AdamovicBoban and @karandatwani92 for acknowledging the issue 🙏 Our private repo should take a couple of hours to pick the change, but then you are able to get the fix with a Cheers |
Beta Was this translation helpful? Give feedback.
Hey @AdamovicBoban, thanks for the report.
I've just tagged editable columns 3.0.3 with the fix for this issue.
Regarding the
save_on_focus(false)
for the select columns, that wouldn't have any effect, because the select column can only be saved in two scenarios:change
orblur/focus out
.You can disable the
save_on_change
but it will always save on blur as a fallback. Contrary to other column types that can be saved withEnter
key if you disable the change and blur saving. `If you want to disable the save on change and save on blur in this column I think you probably don't want an editable column in that scenario.
Thanks again for the report @AdamovicBoban and @karandatwani92 for acknow…