From d8f49469ce7e0bcf84712c6a5bae3a9cbf2e2db0 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Thu, 2 Nov 2023 15:51:02 +0300 Subject: [PATCH] MultiSelect VirtualScroller demo fixes --- doc/multiselect/VirtualScrollDoc.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/multiselect/VirtualScrollDoc.vue b/doc/multiselect/VirtualScrollDoc.vue index 908791932..8749b29c0 100644 --- a/doc/multiselect/VirtualScrollDoc.vue +++ b/doc/multiselect/VirtualScrollDoc.vue @@ -84,7 +84,7 @@ const onSelectAllChange = (event) => { selectedItems.value = event.checked ? items.value.map((item) => item.value) : []; selectAll.value = event.checked; }; -onChange(event) { +const onChange = (event) => { selectAll.value = event.value.length === items.value.length; }