We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca0d758 commit 2648368Copy full SHA for 2648368
1 file changed
input-num.js
@@ -247,7 +247,7 @@ static observedAttributes = [
247
case CURRENCY:
248
this.#locale.style = val ? "currency" : undefined;
249
case NOTATION: // convert null to undefined
250
- this.#locale[name.split("-")[1]] = val ?? undefined;
+ this.#locale[name] = val ?? undefined;
251
break;
252
default: // handled by BaseElement
253
super.attributeChangedCallback(name, _, val);
0 commit comments