@dataloop-ai/components 0.19.218 → 0.19.219
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
|
@@ -425,6 +425,13 @@ export default defineComponent({
|
|
|
425
425
|
selectChildren: {
|
|
426
426
|
type: Boolean,
|
|
427
427
|
default: true
|
|
428
|
+
},
|
|
429
|
+
/**
|
|
430
|
+
* the label to show when items are selected
|
|
431
|
+
*/
|
|
432
|
+
selectedResourceLabel: {
|
|
433
|
+
type: String,
|
|
434
|
+
default: 'Selected Items'
|
|
428
435
|
}
|
|
429
436
|
},
|
|
430
437
|
emits: [
|
|
@@ -616,7 +623,7 @@ export default defineComponent({
|
|
|
616
623
|
return getLabelOfSelectedOption(valueToSearch, this.options)
|
|
617
624
|
}
|
|
618
625
|
return this.modelValueLength > 0
|
|
619
|
-
? `${this.modelValueLength}
|
|
626
|
+
? `${this.modelValueLength} ${this.selectedResourceLabel}`
|
|
620
627
|
: this.computedPlaceholder
|
|
621
628
|
},
|
|
622
629
|
computedAllItemsLabel(): string {
|