From: Alan Date: Fri, 23 Sep 2022 03:26:10 +0000 (+0800) Subject: Roo/form/Radio.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=6a5fe956acb35e68c67e6231cba808f35ccca966 Roo/form/Radio.js --- diff --git a/Roo/form/Radio.js b/Roo/form/Radio.js index e0eec95827..c2bc62d361 100644 --- a/Roo/form/Radio.js +++ b/Roo/form/Radio.js @@ -76,7 +76,9 @@ Roo.extend(Roo.form.Radio, Roo.form.Checkbox, { // this.el.dom.defaultChecked = this.checked; //} this.setChecked(String(v) === String(this.inputValue), suppressEvent); + this.inSetChecked = true; this.el.dom.form[this.name] = v; + this.inSetChecked = false; //this.fireEvent("check", this, this.checked); }, // private.. @@ -95,10 +97,9 @@ Roo.extend(Roo.form.Radio, Roo.form.Checkbox, { if(suppressEvent !== true){ this.fireEvent('check', this, state); } - this.inSetChecked = true; - this.inSetChecked = false; + }