@descope/web-components-ui 2.2.56 → 2.2.57

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.
@@ -8481,7 +8481,13 @@ const ComboBoxMixin = (superclass) =>
8481
8481
  }
8482
8482
 
8483
8483
  isValueMatch() {
8484
- return this.baseElement.items.some(val => val.getAttribute('data-id') === this.baseElement.querySelector('input').value);
8484
+ const val = this.baseElement.querySelector('input').value;
8485
+
8486
+ if (val) {
8487
+ return this.baseElement.items.some(item => item.dataset.name === val || item.dataset.id === val);
8488
+ }
8489
+
8490
+ return true;
8485
8491
  }
8486
8492
 
8487
8493
  init() {