diff --git a/o2web/source/x_component_process_FormDesigner/Module/$ElComponent.js b/o2web/source/x_component_process_FormDesigner/Module/$ElComponent.js index f7b3e6d239b6ce3b46a06eff6c74da80f99bc256..4e0cc5c9136c4e8e8ea626aee47bf1b7853cba68 100644 --- a/o2web/source/x_component_process_FormDesigner/Module/$ElComponent.js +++ b/o2web/source/x_component_process_FormDesigner/Module/$ElComponent.js @@ -87,7 +87,17 @@ MWF.xApplication.process.FormDesigner.Module.$ElComponent = MWF.FC$ElComponent = }, _mountVueApp: function(){ if (!this.vueApp) this.vueApp = this._createVueExtend(); - this.vm = new Vue(this.vueApp).$mount(this.node); + try{ + this.vm = new Vue(this.vueApp); + this.vm.$o2module = this; + this.vm.$o2callback = callback; + + this.vm.$mount(this.node); + }catch(e){ + this.node.store("module", this); + this._loadVueCss(); + if (callback) callback(); + } }, _createVueData: function(){ return {}; diff --git a/o2web/source/x_component_process_FormDesigner/Module/$ElElement.js b/o2web/source/x_component_process_FormDesigner/Module/$ElElement.js index a784afd972c68096ff1ddd03f02b15d1a39043a8..cdf467edc87f939607c8964c51f4e68e1888550e 100644 --- a/o2web/source/x_component_process_FormDesigner/Module/$ElElement.js +++ b/o2web/source/x_component_process_FormDesigner/Module/$ElElement.js @@ -74,7 +74,18 @@ MWF.xApplication.process.FormDesigner.Module.$ElElement = MWF.FC$ElElement = new }, _loadVue: function(callback){ if (!window.Vue){ - o2.load(["vue_develop", "elementui"], { "sequence": true }, callback); + o2.load(["vue_develop", "elementui"], { "sequence": true }, function(){ + window.Vue.config.errorHandler = function (err, vm, info) { + if (vm.$o2module && info=="nextTick"){ + vm.$o2module._createVueAppNode(); + vm.$o2module.node.setStyles(vm.$o2module.css.moduleNodeError); + vm.$el.parentNode.replaceChild(vm.$o2module.node, vm.$el); + vm.$el = vm.$o2module.node; + if (vm.$o2callback) vm.$o2module._afterMounted(vm.$o2module.node, vm.$o2callback); + } + } + if (callback) callback(); + }); }else{ if (callback) callback(); } @@ -134,17 +145,9 @@ MWF.xApplication.process.FormDesigner.Module.$ElElement = MWF.FC$ElElement = new this.vueApp = this._createVueExtend(callback); try{ this.vm = new Vue(this.vueApp); - // var p = { - // "$options": { - // "errorCaptured": function(err, vm, info){ - // alert("p: errorCaptured:"+info); - // } - // } - // } - // this.vm.$parent = p; - // this.vm.config.errorHandler = function (err, vm, info) { - // alert("errorHandler: "+info) - // } + this.vm.$o2module = this; + this.vm.$o2callback = callback; + this.vm.$mount(this.node); }catch(e){ this.node.store("module", this); @@ -170,7 +173,7 @@ MWF.xApplication.process.FormDesigner.Module.$ElElement = MWF.FC$ElElement = new }, errorCaptured: function(err, vm, info){ alert("errorCaptured:"+info); - // return false; + return false; } }; }, diff --git a/o2web/source/x_component_process_FormDesigner/Module/Elautocomplete/default/css.wcss b/o2web/source/x_component_process_FormDesigner/Module/Elautocomplete/default/css.wcss index d87fddb807ef97b9d1d318f36715e8f6e10329e4..c8be1bd1551751c64ad7d1f35decc2cd8d29868b 100644 --- a/o2web/source/x_component_process_FormDesigner/Module/Elautocomplete/default/css.wcss +++ b/o2web/source/x_component_process_FormDesigner/Module/Elautocomplete/default/css.wcss @@ -31,10 +31,29 @@ }, "moduleNode": { "border-radius": "5px", - "border-top": "1px solid #999", - "border-left": "1px solid #999", - "border-right": "1px solid #333", - "border-bottom": "1px solid #333", + "border-top": "1px dashed #999", + "border-left": "1px dashed #999", + "border-right": "1px dashed #999", + "border-bottom": "1px dashed #999", + "overflow": "hidden", + "cursor": "pointer", + "margin": "3px", + "-webkit-user-select": "none", + "-moz-user-select": "none", + "position": "static", + "top": "auto", + "left": "auto", + "opacity": 1, + "display": "inline-block" + }, + "moduleNodeError": { + "border-radius": "5px", + "border-top": "1px dashed #999", + "border-left": "1px dashed #999", + "border-right": "1px dashed #999", + "border-bottom": "1px dashed #999", + "height": "40px", + "width": "200px", "overflow": "hidden", "cursor": "pointer", "margin": "3px", diff --git a/o2web/source/x_component_process_FormDesigner/Module/Elbutton/default/css.wcss b/o2web/source/x_component_process_FormDesigner/Module/Elbutton/default/css.wcss index 720fa560f2f17efb77a7b8770364b5b677e63938..2552627841260ab3e767cb58f12bc4f037bb0da5 100644 --- a/o2web/source/x_component_process_FormDesigner/Module/Elbutton/default/css.wcss +++ b/o2web/source/x_component_process_FormDesigner/Module/Elbutton/default/css.wcss @@ -31,10 +31,10 @@ }, "moduleNode": { "border-radius": "5px", - "border-top": "1px solid #999", - "border-left": "1px solid #999", - "border-right": "1px solid #333", - "border-bottom": "1px solid #333", + "border-top": "1px dashed #999", + "border-left": "1px dashed #999", + "border-right": "1px dashed #999", + "border-bottom": "1px dashed #999", "overflow": "hidden", "cursor": "pointer", "margin": "3px", @@ -46,6 +46,26 @@ "opacity": 1, "display": "inline-block" }, + "moduleNodeError": { + "border-radius": "5px", + "border-top": "1px dashed #999", + "border-left": "1px dashed #999", + "border-right": "1px dashed #999", + "border-bottom": "1px dashed #999", + "height": "40px", + "width": "200px", + "overflow": "hidden", + "cursor": "pointer", + "margin": "3px", + "-webkit-user-select": "none", + "-moz-user-select": "none", + "position": "static", + "top": "auto", + "left": "auto", + "opacity": 1, + "display": "inline-block" + }, + "buttonIcon": { "height": "26px", "cursor": "pointer", diff --git a/o2web/source/x_component_process_FormDesigner/Module/Elcascader/default/css.wcss b/o2web/source/x_component_process_FormDesigner/Module/Elcascader/default/css.wcss index d87fddb807ef97b9d1d318f36715e8f6e10329e4..56a2023773550562360161a2b5e1a62bedaedba5 100644 --- a/o2web/source/x_component_process_FormDesigner/Module/Elcascader/default/css.wcss +++ b/o2web/source/x_component_process_FormDesigner/Module/Elcascader/default/css.wcss @@ -31,10 +31,10 @@ }, "moduleNode": { "border-radius": "5px", - "border-top": "1px solid #999", - "border-left": "1px solid #999", - "border-right": "1px solid #333", - "border-bottom": "1px solid #333", + "border-top": "1px dashed #999", + "border-left": "1px dashed #999", + "border-right": "1px dashed #999", + "border-bottom": "1px dashed #999", "overflow": "hidden", "cursor": "pointer", "margin": "3px", @@ -46,6 +46,26 @@ "opacity": 1, "display": "inline-block" }, + "moduleNodeError": { + "border-radius": "5px", + "border-top": "1px dashed #999", + "border-left": "1px dashed #999", + "border-right": "1px dashed #999", + "border-bottom": "1px dashed #999", + "height": "40px", + "width": "200px", + "overflow": "hidden", + "cursor": "pointer", + "margin": "3px", + "-webkit-user-select": "none", + "-moz-user-select": "none", + "position": "static", + "top": "auto", + "left": "auto", + "opacity": 1, + "display": "inline-block" + }, + "buttonIcon": { "height": "26px", "cursor": "pointer", diff --git a/o2web/source/x_component_process_FormDesigner/Module/Elcheckbox/default/css.wcss b/o2web/source/x_component_process_FormDesigner/Module/Elcheckbox/default/css.wcss index cda79c5904f19df7656ba6c64017270500d64fe6..d7b5621c97eb00684fade9504cebd893db232b16 100644 --- a/o2web/source/x_component_process_FormDesigner/Module/Elcheckbox/default/css.wcss +++ b/o2web/source/x_component_process_FormDesigner/Module/Elcheckbox/default/css.wcss @@ -42,6 +42,21 @@ "opacity": 1, "padding": "0 3px", "display": "inline-block" + }, + "moduleNodeError": { + "border": "1px dashed #999", + "cursor": "pointer", + "overflow": "hidden", + "margin": "3px", + "-webkit-user-select": "none", + "-moz-user-select": "none", + "position": "static", + "top": "auto", + "left": "auto", + "opacity": 1, + "padding": "0 3px", + "display": "inline-block", + "height": "40px", + "width": "100px" } - } diff --git a/o2web/source/x_component_process_FormDesigner/Module/Elcommon/default/css.wcss b/o2web/source/x_component_process_FormDesigner/Module/Elcommon/default/css.wcss index e7a3fc62cebcb10725886ff6e8d101500ef8a648..f2730b2dab2630f9a231484eb9e598019c8de25f 100644 --- a/o2web/source/x_component_process_FormDesigner/Module/Elcommon/default/css.wcss +++ b/o2web/source/x_component_process_FormDesigner/Module/Elcommon/default/css.wcss @@ -47,6 +47,25 @@ "display": "block", "min-width": "60px" }, + "moduleNodeError": { + "border": "1px dashed #333", + "min-height": "60px", + "cursor": "pointer", + "line-height": "normal", + "width": "auto", + "background": "transparent", + "overflow": "hidden", + "margin": "3px", + "-webkit-user-select": "none", + "-moz-user-select": "none", + "position": "static", + "top": "auto", + "left": "auto", + "opacity": 1, + "display": "block", + "min-width": "60px" + }, + "iconNode": { "width": "70px", "height": "24px", diff --git a/o2web/source/x_component_process_FormDesigner/Module/Elcontainer.js b/o2web/source/x_component_process_FormDesigner/Module/Elcontainer.js index 1e2a3b53c8108793ac9c892f97c37ad374f4a67f..df76d05746acb582c8697578001c578e3becec51 100644 --- a/o2web/source/x_component_process_FormDesigner/Module/Elcontainer.js +++ b/o2web/source/x_component_process_FormDesigner/Module/Elcontainer.js @@ -247,7 +247,17 @@ MWF.xApplication.process.FormDesigner.Module.Elcontainer = MWF.FCElcontainer = n }, _mountVueApp: function(callback){ if (!this.vueApp) this.vueApp = this._createVueExtend(callback); - this.vm = new Vue(this.vueApp).$mount(this.node); + try{ + this.vm = new Vue(this.vueApp); + this.vm.$o2module = this; + this.vm.$o2callback = callback; + + this.vm.$mount(this.node); + }catch(e){ + this.node.store("module", this); + this._loadVueCss(); + if (callback) callback(); + } }, _createVueExtend: function(callback){ var _self = this; diff --git a/o2web/source/x_component_process_FormDesigner/Module/Elcontainer/default/css.wcss b/o2web/source/x_component_process_FormDesigner/Module/Elcontainer/default/css.wcss index aa1139a2d203996ed567c60bba62cdef703d7509..4f1ad678240e8a40c3d3f81029d917a3f704a661 100644 --- a/o2web/source/x_component_process_FormDesigner/Module/Elcontainer/default/css.wcss +++ b/o2web/source/x_component_process_FormDesigner/Module/Elcontainer/default/css.wcss @@ -38,6 +38,15 @@ "-webkit-user-select": "none", "-moz-user-select": "none", "opacity": 1 + }, + "moduleNodeError": { + "border": "1px dashed #333", + "min-height": "30px", + "cursor": "pointer", + "margin": "3px 3px", + "-webkit-user-select": "none", + "-moz-user-select": "none", + "opacity": 1 } } diff --git a/o2web/source/x_component_process_FormDesigner/Module/Elicon/default/css.wcss b/o2web/source/x_component_process_FormDesigner/Module/Elicon/default/css.wcss index 73b6d11fc7157529363436e6534f850171deb8ec..353c2cd38c4b242486e0dc2af02e5b43c77b9e15 100644 --- a/o2web/source/x_component_process_FormDesigner/Module/Elicon/default/css.wcss +++ b/o2web/source/x_component_process_FormDesigner/Module/Elicon/default/css.wcss @@ -43,6 +43,22 @@ "opacity": 1, "font-size": "16px", "display": "inline-block" + }, + "moduleNodeError": { + "border": "1px dashed #333", + "overflow": "hidden", + "cursor": "pointer", + "margin": "3px", + "-webkit-user-select": "none", + "-moz-user-select": "none", + "position": "static", + "top": "auto", + "left": "auto", + "opacity": 1, + "font-size": "16px", + "display": "inline-block", + "width": "40px", + "height": "40px" } } diff --git a/o2web/source/x_component_process_FormDesigner/Module/Elinput/default/css.wcss b/o2web/source/x_component_process_FormDesigner/Module/Elinput/default/css.wcss index d87fddb807ef97b9d1d318f36715e8f6e10329e4..c8be1bd1551751c64ad7d1f35decc2cd8d29868b 100644 --- a/o2web/source/x_component_process_FormDesigner/Module/Elinput/default/css.wcss +++ b/o2web/source/x_component_process_FormDesigner/Module/Elinput/default/css.wcss @@ -31,10 +31,29 @@ }, "moduleNode": { "border-radius": "5px", - "border-top": "1px solid #999", - "border-left": "1px solid #999", - "border-right": "1px solid #333", - "border-bottom": "1px solid #333", + "border-top": "1px dashed #999", + "border-left": "1px dashed #999", + "border-right": "1px dashed #999", + "border-bottom": "1px dashed #999", + "overflow": "hidden", + "cursor": "pointer", + "margin": "3px", + "-webkit-user-select": "none", + "-moz-user-select": "none", + "position": "static", + "top": "auto", + "left": "auto", + "opacity": 1, + "display": "inline-block" + }, + "moduleNodeError": { + "border-radius": "5px", + "border-top": "1px dashed #999", + "border-left": "1px dashed #999", + "border-right": "1px dashed #999", + "border-bottom": "1px dashed #999", + "height": "40px", + "width": "200px", "overflow": "hidden", "cursor": "pointer", "margin": "3px", diff --git a/o2web/source/x_component_process_FormDesigner/Module/Elnumber/default/css.wcss b/o2web/source/x_component_process_FormDesigner/Module/Elnumber/default/css.wcss index d87fddb807ef97b9d1d318f36715e8f6e10329e4..c8be1bd1551751c64ad7d1f35decc2cd8d29868b 100644 --- a/o2web/source/x_component_process_FormDesigner/Module/Elnumber/default/css.wcss +++ b/o2web/source/x_component_process_FormDesigner/Module/Elnumber/default/css.wcss @@ -31,10 +31,29 @@ }, "moduleNode": { "border-radius": "5px", - "border-top": "1px solid #999", - "border-left": "1px solid #999", - "border-right": "1px solid #333", - "border-bottom": "1px solid #333", + "border-top": "1px dashed #999", + "border-left": "1px dashed #999", + "border-right": "1px dashed #999", + "border-bottom": "1px dashed #999", + "overflow": "hidden", + "cursor": "pointer", + "margin": "3px", + "-webkit-user-select": "none", + "-moz-user-select": "none", + "position": "static", + "top": "auto", + "left": "auto", + "opacity": 1, + "display": "inline-block" + }, + "moduleNodeError": { + "border-radius": "5px", + "border-top": "1px dashed #999", + "border-left": "1px dashed #999", + "border-right": "1px dashed #999", + "border-bottom": "1px dashed #999", + "height": "40px", + "width": "200px", "overflow": "hidden", "cursor": "pointer", "margin": "3px", diff --git a/o2web/source/x_component_process_FormDesigner/Module/Elradio/default/css.wcss b/o2web/source/x_component_process_FormDesigner/Module/Elradio/default/css.wcss index cda79c5904f19df7656ba6c64017270500d64fe6..7862e104de9765337ce375ba0730588bd058da7e 100644 --- a/o2web/source/x_component_process_FormDesigner/Module/Elradio/default/css.wcss +++ b/o2web/source/x_component_process_FormDesigner/Module/Elradio/default/css.wcss @@ -42,6 +42,22 @@ "opacity": 1, "padding": "0 3px", "display": "inline-block" + }, + "moduleNodeError": { + "border": "1px dashed #999", + "cursor": "pointer", + "overflow": "hidden", + "margin": "3px", + "-webkit-user-select": "none", + "-moz-user-select": "none", + "position": "static", + "top": "auto", + "left": "auto", + "opacity": 1, + "padding": "0 3px", + "display": "inline-block", + "height": "40px", + "width": "100px" } } diff --git a/o2web/source/x_component_process_FormDesigner/Module/Elselect/default/css.wcss b/o2web/source/x_component_process_FormDesigner/Module/Elselect/default/css.wcss index d87fddb807ef97b9d1d318f36715e8f6e10329e4..5ff3359691a514638ed2472cf2fe55aa979f06fc 100644 --- a/o2web/source/x_component_process_FormDesigner/Module/Elselect/default/css.wcss +++ b/o2web/source/x_component_process_FormDesigner/Module/Elselect/default/css.wcss @@ -44,6 +44,27 @@ "top": "auto", "left": "auto", "opacity": 1, + "height": "auto", + "width": "auto", + "display": "inline-block" + }, + "moduleNodeError": { + "border-radius": "5px", + "border-top": "1px dashed #999", + "border-left": "1px dashed #999", + "border-right": "1px dashed #999", + "border-bottom": "1px dashed #999", + "height": "40px", + "width": "200px", + "overflow": "hidden", + "cursor": "pointer", + "margin": "3px", + "-webkit-user-select": "none", + "-moz-user-select": "none", + "position": "static", + "top": "auto", + "left": "auto", + "opacity": 1, "display": "inline-block" }, "buttonIcon": { diff --git a/o2web/source/x_component_process_FormDesigner/Module/Elslider/default/css.wcss b/o2web/source/x_component_process_FormDesigner/Module/Elslider/default/css.wcss index 58068672950fc7e393fe4f51a33b92fedd4d942b..f4aeb8c199993d0d8d2c806bcf8c602dc897762c 100644 --- a/o2web/source/x_component_process_FormDesigner/Module/Elslider/default/css.wcss +++ b/o2web/source/x_component_process_FormDesigner/Module/Elslider/default/css.wcss @@ -31,8 +31,8 @@ "border-radius": "5px", "border-top": "1px dashed #999", "border-left": "1px dashed #999", - "border-right": "1px dashed #333", - "border-bottom": "1px dashed #333", + "border-right": "1px dashed #999", + "border-bottom": "1px dashed #999", "overflow": "hidden", "cursor": "pointer", "margin": "3px", @@ -43,6 +43,23 @@ "left": "auto", "opacity": 1, }, + "moduleNodeError": { + "border-radius": "5px", + "border-top": "1px dashed #999", + "border-left": "1px dashed #999", + "border-right": "1px dashed #999", + "border-bottom": "1px dashed #999", + "overflow": "hidden", + "cursor": "pointer", + "margin": "3px", + "-webkit-user-select": "none", + "-moz-user-select": "none", + "position": "static", + "top": "auto", + "left": "auto", + "opacity": 1, + "height": "40px" + }, "buttonIcon": { "height": "26px", "cursor": "pointer", diff --git a/o2web/source/x_component_process_FormDesigner/Module/Elswitch/default/css.wcss b/o2web/source/x_component_process_FormDesigner/Module/Elswitch/default/css.wcss index 06975e49b1bcaf59c342f2e0c24edbfbd8f03260..63d265865152fe808dd0c5457f9f95c939701302 100644 --- a/o2web/source/x_component_process_FormDesigner/Module/Elswitch/default/css.wcss +++ b/o2web/source/x_component_process_FormDesigner/Module/Elswitch/default/css.wcss @@ -31,10 +31,29 @@ }, "moduleNode": { "border-radius": "100px", - "border-top": "1px solid #999", - "border-left": "1px solid #999", - "border-right": "1px solid #333", - "border-bottom": "1px solid #333", + "border-top": "1px dashed #999", + "border-left": "1px dashed #999", + "border-right": "1px dashed #999", + "border-bottom": "1px dashed #999", + "overflow": "hidden", + "cursor": "pointer", + "margin": "3px", + "-webkit-user-select": "none", + "-moz-user-select": "none", + "position": "static", + "top": "auto", + "left": "auto", + "opacity": 1, + "display": "inline-block" + }, + "moduleNodeError": { + "border-radius": "5px", + "border-top": "1px dashed #999", + "border-left": "1px dashed #999", + "border-right": "1px dashed #999", + "border-bottom": "1px dashed #999", + "height": "40px", + "width": "80px", "overflow": "hidden", "cursor": "pointer", "margin": "3px", diff --git a/o2web/source/x_component_process_FormDesigner/lp/zh-cn.js b/o2web/source/x_component_process_FormDesigner/lp/zh-cn.js index 6ed836c7d434774cdc06c0238c48c9f4ba135d48..2b3c64b786f409cb0c6b271e6fed2fbd7a2cbe1c 100644 --- a/o2web/source/x_component_process_FormDesigner/lp/zh-cn.js +++ b/o2web/source/x_component_process_FormDesigner/lp/zh-cn.js @@ -1065,7 +1065,7 @@ MWF.xApplication.process.FormDesigner.LP = { "noDataText": "无数据文本", "loadingText": "加载中文本", "remoteMethod": "远程搜索方法", - "multipleLimit": "最多可以数", + "multipleLimit": "最多可选数", "max": "最大值", "min": "最小值", diff --git a/o2web/source/x_component_process_Xform/Elautocomplete.js b/o2web/source/x_component_process_Xform/Elautocomplete.js index a0385a3b9033acc44a30c660a010fb5925d364e0..4daeca2ed7ac75ff611f3e998af975817ce3bc32 100644 --- a/o2web/source/x_component_process_Xform/Elautocomplete.js +++ b/o2web/source/x_component_process_Xform/Elautocomplete.js @@ -68,7 +68,9 @@ MWF.xApplication.process.Xform.Elautocomplete = MWF.APPElautocomplete = new Cla if (this.json.itemScript && this.json.itemScript.code){ var fetchSuggestions = this.form.Macro.exec(this.json.itemScript.code, this); if (o2.typeOf(fetchSuggestions)==="function"){ - app.methods.$fetchSuggestions = fetchSuggestions; + app.methods.$fetchSuggestions = function(){ + fetchSuggestions.apply(this, arguments); + }.bind(this); } } diff --git a/o2web/source/x_component_process_Xform/Elcascader.js b/o2web/source/x_component_process_Xform/Elcascader.js index cb4f42ac7d28ecd99efbab2abba203cd4b92e599..037d4ff5bef5285978d11b46eff0ca8c8a389e6e 100644 --- a/o2web/source/x_component_process_Xform/Elcascader.js +++ b/o2web/source/x_component_process_Xform/Elcascader.js @@ -56,19 +56,19 @@ MWF.xApplication.process.Xform.Elcascader = MWF.APPElcascader = new Class( var fn = this.form.Macro.exec(this.json.filterMethod.code, this); methods.$filterMethod = function(){ fn.apply(this, arguments); - }.bind(this) + }.bind(this); } if (this.json.lazyLoadScript && this.json.lazyLoadScript.code){ var fn = this.form.Macro.exec(this.json.lazyLoadScript.code, this); this.json.props.lazyLoad = function(){ fn.apply(this, arguments); - }.bind(this) + }.bind(this); } if (this.json.beforeFilter && this.json.beforeFilter.code){ var fn = this.form.Macro.exec(this.json.beforeFilter.code, this); methods.$beforeFilter = function(){ fn.apply(this, arguments); - }.bind(this) + }.bind(this); } }, @@ -78,10 +78,12 @@ MWF.xApplication.process.Xform.Elcascader = MWF.APPElcascader = new Class( v.then(function(o){ if (o2.typeOf(o)==="array"){ this.json.options = o; + this.json.$options = o; } }.bind(this)); }else if (o2.typeOf(v)==="array"){ this.json.options = v; + this.json.$options = v; } }, _loadOptions: function(){ diff --git a/o2web/source/x_component_process_Xform/Elselect.js b/o2web/source/x_component_process_Xform/Elselect.js index d68dab8a12355ce4ff52e2616f5bce757b895f26..9d011a9ccd830a32e5b9a51fc075928618d97da5 100644 --- a/o2web/source/x_component_process_Xform/Elselect.js +++ b/o2web/source/x_component_process_Xform/Elselect.js @@ -70,10 +70,12 @@ MWF.xApplication.process.Xform.Elselect = MWF.APPElselect = new Class( v.then(function(o){ if (o2.typeOf(o)==="array"){ this.json.options = o; + this.json.$options = o; } }.bind(this)); }else if (o2.typeOf(v)==="array"){ this.json.options = v; + this.json.$options = v; } }, _loadOptions: function(){