diff --git a/dist/bundle.js b/dist/bundle.js index c48bc6ccb..fc822d800 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 b331dd7ef..bc6e04dca 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 15e89a9da..a1ee88ee1 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 809c2a671..54cfe33b0 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(); },