From 4a4c1934a00cbdc1d288fb978e8f48ea24b2dcdd Mon Sep 17 00:00:00 2001 From: Faizaan Gagan Date: Fri, 30 Apr 2021 23:02:13 +0530 Subject: [PATCH] revert client side change --- .../wizard/initializers/custom-wizard-field.js.es6 | 6 ------ 1 file changed, 6 deletions(-) diff --git a/assets/javascripts/wizard/initializers/custom-wizard-field.js.es6 b/assets/javascripts/wizard/initializers/custom-wizard-field.js.es6 index 89f9d16a..3ede2b05 100644 --- a/assets/javascripts/wizard/initializers/custom-wizard-field.js.es6 +++ b/assets/javascripts/wizard/initializers/custom-wizard-field.js.es6 @@ -57,12 +57,6 @@ export default { ]; FieldModel.reopen({ - init() { - this._super(...arguments); - if (this.type === "checkbox") { - this.set("value", this.value || false); - } - }, check() { if (this.customCheck) { return this.customCheck();