@dataloop-ai/components 0.20.176 → 0.20.177

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dataloop-ai/components",
3
- "version": "0.20.176",
3
+ "version": "0.20.177",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -524,6 +524,10 @@ export default defineComponent({
524
524
  removeTabIndex: {
525
525
  type: Boolean,
526
526
  default: false
527
+ },
528
+ isAllOptionsSelected: {
529
+ type: Boolean,
530
+ default: false
527
531
  }
528
532
  },
529
533
  emits: [
@@ -743,6 +747,10 @@ export default defineComponent({
743
747
  return false
744
748
  },
745
749
  filterSelectLabel(): string {
750
+ if (this.isAllOptionsSelected) {
751
+ return this.computedAllItemsLabel
752
+ }
753
+
746
754
  if (this.modelValueLength === 1) {
747
755
  const valueToSearch = (this.modelValue as any)[0]
748
756
  return getLabelOfSelectedOption(valueToSearch, this.options)