diff --git a/app/assets/javascripts/discourse/app/form-kit/components/fk/control/toggle.gjs b/app/assets/javascripts/discourse/app/form-kit/components/fk/control/toggle.gjs index a2c342e7d46..7c84e3f5f82 100644 --- a/app/assets/javascripts/discourse/app/form-kit/components/fk/control/toggle.gjs +++ b/app/assets/javascripts/discourse/app/form-kit/components/fk/control/toggle.gjs @@ -8,7 +8,7 @@ export default class FKControlToggle extends Component { @action handleInput() { - this.args.field.set(!this.args.value); + this.args.field.set(!this.args.field.value); }