-
-
Notifications
You must be signed in to change notification settings - Fork 169
Description
Overview of the problem
Oruga version: [0.12.5]
Vuejs version: [3.5.25]
OS/Browser: Windows/Chrome
Description
We'd like to be able to make the pagination conditional based on the number of entries in a filterable table.
What happens currently is that after applying and removing a filter to a table with less items than the conditional the view will be empty.
Expected behavior
That the table would be returned to its original view after the filter was removed.
Actual behavior
I was met with a blank screen as the hidden status seemed to not get properly lifted if there were no matches. If there were matches then only those matches would be visible after removing the input from the filter.
Steps to reproduce
Example A
- In filterable.vue replace the
<o-table :data="data" paginated per-page="5">with<o-table :data="data"> - Type x into the input field of first name
- Clear the input field
The resulting screen looks like this:
Example B
2. Type j into the input field of first name
3. Clear the input field
The resulting screen looks like this:
