@dataloop-ai/components 0.18.14 → 0.18.15
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
|
@@ -667,6 +667,9 @@ export default defineComponent({
|
|
|
667
667
|
},
|
|
668
668
|
modelValue() {
|
|
669
669
|
this.setSelectedIndex()
|
|
670
|
+
},
|
|
671
|
+
emitValue() {
|
|
672
|
+
this.setSelectedIndex()
|
|
670
673
|
}
|
|
671
674
|
},
|
|
672
675
|
beforeMount() {
|
|
@@ -695,7 +698,7 @@ export default defineComponent({
|
|
|
695
698
|
return
|
|
696
699
|
}
|
|
697
700
|
|
|
698
|
-
if (this.emitValue
|
|
701
|
+
if (this.emitValue) {
|
|
699
702
|
this.selectedIndex = this.options.findIndex(
|
|
700
703
|
(
|
|
701
704
|
option:
|