wave-ui icon indicating copy to clipboard operation
wave-ui copied to clipboard

w-table total in pagination is broken with filtation

Open Hexagon-Dev opened this issue 1 year ago • 3 comments

Checked code, why total is a value and not a computed property? As for server data table a separate value needs to be provided like serverTotal, but as for static data I think there is no need to set total manually. Cause of that it sets initially items.length, and after filtration is applied - value is not updated. For example if table has 5 pages, and after filtration item decreased to 1, it would still display 5 pages but 1 item.

Hexagon-Dev avatar Dec 09 '23 00:12 Hexagon-Dev