@proximus/lavender-input 1.0.0-alpha.43 → 1.0.0-alpha.44

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.
Files changed (2) hide show
  1. package/dist/index.es.js +5 -2
  2. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -216,8 +216,11 @@ const f = class f extends n {
216
216
  }
217
217
  };
218
218
  a = new WeakSet(), u = function() {
219
- const t = this.querySelectorAll("option");
220
- this.$el.querySelectorAll("option").forEach((i) => i.remove()), t.length > 0 && t.forEach((i) => {
219
+ const t = Array.from(this.children).filter((i) => {
220
+ const r = i.tagName.toLowerCase();
221
+ return r === "option" || r === "optgroup";
222
+ });
223
+ this.$el.innerHTML = "", t.length > 0 && t.forEach((i) => {
221
224
  const r = i.cloneNode(!0);
222
225
  this.$el.appendChild(r);
223
226
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proximus/lavender-input",
3
- "version": "1.0.0-alpha.43",
3
+ "version": "1.0.0-alpha.44",
4
4
  "description": "Input component for the Proximus Design System",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",