@cloudparker/moldex.js 0.0.96 → 0.0.97
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -65,6 +65,7 @@ let {
|
|
|
65
65
|
uncheckboxIconClassName = "",
|
|
66
66
|
checkboxClassName = "",
|
|
67
67
|
itemTileSnippet,
|
|
68
|
+
onChange,
|
|
68
69
|
...props
|
|
69
70
|
} = $props();
|
|
70
71
|
let searchFieldRef = $state(null);
|
|
@@ -246,6 +247,7 @@ function handleItemClick(ev, item, index) {
|
|
|
246
247
|
if (!multiple) {
|
|
247
248
|
closeDropdown();
|
|
248
249
|
}
|
|
250
|
+
onChange && onChange(value);
|
|
249
251
|
}
|
|
250
252
|
</script>
|
|
251
253
|
|