Okipa / laravel-table

Generate tables from Eloquent models.
MIT License
533 stars 64 forks source link

Column action still displays original column value with ->when(false) #103

Closed yepzy closed 1 year ago

yepzy commented 2 years ago

Hi @Okipa,

I'm using the ToggleBooleanColumnAction with a when to disable the action on some rows, but when the condition is false, it displays the value of the field. I think it will better to display nothing.

Here is a screenshot of an example :

image

Okipa commented 1 year ago

Fixed in https://github.com/Okipa/laravel-table/releases/tag/5.0.2.