Skip to content

Commit

Permalink
fix(ix): avoid controller reset in chocies
Browse files Browse the repository at this point in the history
  • Loading branch information
caugner committed Feb 27, 2025
1 parent b3a41cd commit be54554
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/src/lit/interactive-example/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,10 @@ export class InteractiveExample extends GleanMixin(LitElement) {
}

_reset() {
this._controller.value?.reset();
if (this._template === "choices") {
this._resetChoices();
} else {
this._controller.value?.reset();
}
}

Expand Down

0 comments on commit be54554

Please sign in to comment.