diff --git a/dist/bundle.js b/dist/bundle.js index c48bc6ccb7..fc822d800e 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -72264,7 +72264,7 @@ BI.shortcut("bi.single_select_item", BI.SingleSelectItem);/** BI.SingleSelectRadioItem = BI.inherit(BI.BasicButton, { _defaultConfig: function () { return BI.extend(BI.SingleSelectRadioItem.superclass._defaultConfig.apply(this, arguments), { - extraCls: "bi-single-select-radio-item bi-list-item-active", + extraCls: "bi-single-select-radio-item", logic: { dynamic: false }, @@ -83148,6 +83148,13 @@ BI.RichEditor = BI.inherit(BI.Widget, { }; }, + mounted: function () { + var o = this.options; + if(BI.isNull(o.value)) { + this.editor.setValue(o.value); + } + }, + focus: function () { this.editor.focus(); }, diff --git a/dist/case.js b/dist/case.js index b331dd7ef2..bc6e04dcab 100644 --- a/dist/case.js +++ b/dist/case.js @@ -328,7 +328,7 @@ BI.shortcut("bi.single_select_item", BI.SingleSelectItem);/** BI.SingleSelectRadioItem = BI.inherit(BI.BasicButton, { _defaultConfig: function () { return BI.extend(BI.SingleSelectRadioItem.superclass._defaultConfig.apply(this, arguments), { - extraCls: "bi-single-select-radio-item bi-list-item-active", + extraCls: "bi-single-select-radio-item", logic: { dynamic: false }, @@ -11212,6 +11212,13 @@ BI.RichEditor = BI.inherit(BI.Widget, { }; }, + mounted: function () { + var o = this.options; + if(BI.isNull(o.value)) { + this.editor.setValue(o.value); + } + }, + focus: function () { this.editor.focus(); }, diff --git a/src/case/button/item.singleselect.radio.js b/src/case/button/item.singleselect.radio.js index 15e89a9dad..a1ee88ee16 100644 --- a/src/case/button/item.singleselect.radio.js +++ b/src/case/button/item.singleselect.radio.js @@ -6,7 +6,7 @@ BI.SingleSelectRadioItem = BI.inherit(BI.BasicButton, { _defaultConfig: function () { return BI.extend(BI.SingleSelectRadioItem.superclass._defaultConfig.apply(this, arguments), { - extraCls: "bi-single-select-radio-item bi-list-item-active", + extraCls: "bi-single-select-radio-item", logic: { dynamic: false }, diff --git a/src/case/richeditor/richeditor.js b/src/case/richeditor/richeditor.js index 809c2a6716..54cfe33b0d 100644 --- a/src/case/richeditor/richeditor.js +++ b/src/case/richeditor/richeditor.js @@ -72,6 +72,13 @@ BI.RichEditor = BI.inherit(BI.Widget, { }; }, + mounted: function () { + var o = this.options; + if(BI.isNull(o.value)) { + this.editor.setValue(o.value); + } + }, + focus: function () { this.editor.focus(); },