You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<vaadin-crud> component relies on the internal <vaadin-grid> to update its size property when new items are added/removed. This doesn't happen, however, which results in Crud not dispatching size-changed event on item removals/additions.
Expected outcome
The size-changed should dispatch from crud. It's debatable, however, whether the grid should automatically update its own size property. It merely reflects the count of the root-level items.
Description
<vaadin-crud>
component relies on the internal<vaadin-grid>
to update itssize
property when new items are added/removed. This doesn't happen, however, which results in Crud not dispatchingsize-changed
event on item removals/additions.Expected outcome
The
size-changed
should dispatch from crud. It's debatable, however, whether the grid should automatically update its ownsize
property. It merely reflects the count of the root-level items.Minimal reproducible example
https://vaadin.com/docs/latest/components/crud#toolbar (TypeScript)
Steps to reproduce
Add or remove items. The "Total" value in the toolbar never updates
Environment
Vaadin version(s): 24
Browsers
Issue is not browser related
The text was updated successfully, but these errors were encountered: