dcasia / column-toggler

A Laravel Nova package that allows you to hide/show columns in the index view.
MIT License
40 stars 5 forks source link

Don’t show checkboxes without label #17

Closed stllmtbrt closed 10 months ago

stllmtbrt commented 10 months ago

Hey there! We are using a custom field for showing the comment count on our resource index :

grafik

Our custom field has no column name/title and should not be on/off switchable or sortable by column-toggler. Before the changes in this pull request there was always an empty row shown in the column-toggler. My solution was to hide checkboxes within the column toggler that have an empty title.

Thanks a lot for this great component

stllmtbrt commented 10 months ago

🙏