@descope/web-components-ui 1.54.0 → 1.55.0

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
@@ -14193,7 +14193,12 @@ const multiSelectComboBoxMixin = (superclass) =>
14193
14193
 
14194
14194
  // eslint-disable-next-line class-methods-use-this
14195
14195
  #renderItem = ({ displayName, value, label }) => {
14196
- return `<span data-name="${label}" data-id="${value}">${displayName || label}</span>`;
14196
+ const ele = document.createElement('span');
14197
+ ele.setAttribute('data-name', label);
14198
+ ele.setAttribute('data-id', value);
14199
+ ele.textContent = displayName || label;
14200
+
14201
+ return ele.outerHTML;
14197
14202
  };
14198
14203
 
14199
14204
  #data;