@avakhula/ui 0.0.41 → 0.0.42
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.
package/package.json
CHANGED
|
@@ -381,8 +381,20 @@ export default {
|
|
|
381
381
|
modelValue(value) {
|
|
382
382
|
this.selected = [];
|
|
383
383
|
this.val = value;
|
|
384
|
-
|
|
385
|
-
|
|
384
|
+
if (
|
|
385
|
+
this.watchClearValue &&
|
|
386
|
+
(!value || (Array.isArray(value) && !value.length))
|
|
387
|
+
) {
|
|
388
|
+
this.setPreparedValues(this.actualOptions).then(() => {
|
|
389
|
+
const values = Object.keys(this.selected);
|
|
390
|
+
this.$globalEvents.$emit("select-" + this.filterId + ":update", {
|
|
391
|
+
values,
|
|
392
|
+
filter: this.filterId,
|
|
393
|
+
});
|
|
394
|
+
});
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
console.log('modelValue changet', this.actualOptions)
|
|
386
398
|
},
|
|
387
399
|
val(value) {
|
|
388
400
|
if (
|