Browse Source

Pull request #2724: 无JIRA fix: single_select_radio_item单选框once,forceSelected 等属性没能控制到里面的bi.radio

Merge in VISUAL/fineui from ~DAILER/fineui:master to master

* commit '63fb2019fc141fcef662e1d3b39954d71d2fa990':
  无JIRA fix: single_select_radio_item单选框once,forceSelected 等属性没能控制到里面的bi.radio
es6
Dailer 2 years ago
parent
commit
de65bd0977
  1. 10
      src/case/button/item.singleselect.radio.js

10
src/case/button/item.singleselect.radio.js

@ -28,6 +28,16 @@ BI.SingleSelectRadioItem = BI.inherit(BI.BasicButton, {
ref: function (_ref) {
self.radio = _ref;
},
listeners: [
{
eventName: BI.Controller.EVENT_CHANGE,
action: function (type) {
if (type === BI.Events.CLICK) {
self.setSelected(self.isSelected());
}
}
}
],
}]
}, {
el: {

Loading…
Cancel
Save