MedicOneSystems / livewire-datatables

Advanced datatables using Laravel, Livewire, Tailwind CSS and Alpine JS
https://livewire-datatables.com/
MIT License
1.19k stars 258 forks source link

how to catch QueryException on ->editable() (inline) action #532

Open insulae opened 1 year ago

insulae commented 1 year ago

I have a table with an editable column ->editable(). but that column has the unique property, how can I do a try catch(QueryException $e) I want to show an "alert" instead error500.