@optionfactory/ful 4.0.4 → 4.0.5

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/ful.mjs CHANGED
@@ -2093,7 +2093,7 @@ class Select extends ParsedElement {
2093
2093
  }
2094
2094
  (async () => {
2095
2095
  const entries = await (this.#multiple ? this.#loader.exact(...vs) : this.#loader.exact(vs));
2096
- this.#values = new Map(entries);
2096
+ this.#values = new Map(entries.map(e => [e[0], e.slice(1)]));
2097
2097
  this.#syncBadges();
2098
2098
  })();
2099
2099
  }