MultiSelect VirtualScroller demo fixes

pull/4744/head
tugcekucukoglu 2023-11-02 15:51:02 +03:00
parent 1d365fd480
commit d8f49469ce
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ const onSelectAllChange = (event) => {
selectedItems.value = event.checked ? items.value.map((item) => item.value) : []; selectedItems.value = event.checked ? items.value.map((item) => item.value) : [];
selectAll.value = event.checked; selectAll.value = event.checked;
}; };
onChange(event) { const onChange = (event) => {
selectAll.value = event.value.length === items.value.length; selectAll.value = event.value.length === items.value.length;
} }