From 6a5fe956acb35e68c67e6231cba808f35ccca966 Mon Sep 17 00:00:00 2001 From: Alan Date: Fri, 23 Sep 2022 11:26:10 +0800 Subject: [PATCH] Roo/form/Radio.js --- Roo/form/Radio.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; + } -- 2.39.2