@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.
package/dist/index.esm.js CHANGED
@@ -5467,7 +5467,13 @@ const ComboBoxMixin = (superclass) =>
5467
5467
  }
5468
5468
 
5469
5469
  isValueMatch() {
5470
- return this.baseElement.items.some(val => val.getAttribute('data-id') === this.baseElement.querySelector('input').value);
5470
+ const val = this.baseElement.querySelector('input').value;
5471
+
5472
+ if (val) {
5473
+ return this.baseElement.items.some(item => item.dataset.name === val || item.dataset.id === val);
5474
+ }
5475
+
5476
+ return true;
5471
5477
  }
5472
5478
 
5473
5479
  init() {