Replies: 1 comment
-
Nice, but this didn't work for me when having polling on the table 😬 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When you have an empty table in your application, you see a big fat "No " and an X-icon, in some cases it would be good to be able to hide the table completely.
I recently came across a need for this functionality, and had to resort to putting an if statement around the
$this->table
.I know that you can set the empty state header, description and icon to make it appear as hidden, but I think it would be even greater if you could just chain a
->hideEmptyState()
to the table.Like this:
Or another option would be to set it in the livewire component like so.
For now I made this workaround
Beta Was this translation helpful? Give feedback.
All reactions