Skip to content

Commit 23029e1

Browse files
authored
chore: don't set custom property value on root if not overridden (#10183)
1 parent 6ce7630 commit 23029e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/aura/aura-number-control.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ class AuraNumberControl extends AuraControl {
147147
const computed = this.#getComputedNumber();
148148
const initial = computed != null ? computed : this.#clamp(this.#snap((this.#min + this.#max) / 2));
149149
this.#initialComputed = computed ?? initial;
150-
this.#setValue(initial, { persist: false });
150+
this.#setValue(initial, { persist: null });
151151
}
152152

153153
#getComputedNumber() {

0 commit comments

Comments
 (0)