inlineeditbox

Using dijit.InlineEditBox with dijit.form.Select

半城伤御伤魂 提交于 2020-01-03 02:05:21
问题 I'm trying to use a dijit.form.Select as the editor for my dijit.InlineEditBox. Two problems / unexpected behavior seem to occur: Inconsistently, the InLineEditBox doesn't have the initial value set as selected Consistently, after selecting a choice, the value that should be hidden is shown instead of the label. The width isn't set to 130px Here's working code: http://jsfiddle.net/mimercha/Vuet8/7/ The jist <span dojoType="dijit.InlineEditBox" editor="dijit.form.Select" editorParams="{

Using dijit.InlineEditBox with dijit.form.Select

末鹿安然 提交于 2020-01-03 02:05:13
问题 I'm trying to use a dijit.form.Select as the editor for my dijit.InlineEditBox. Two problems / unexpected behavior seem to occur: Inconsistently, the InLineEditBox doesn't have the initial value set as selected Consistently, after selecting a choice, the value that should be hidden is shown instead of the label. The width isn't set to 130px Here's working code: http://jsfiddle.net/mimercha/Vuet8/7/ The jist <span dojoType="dijit.InlineEditBox" editor="dijit.form.Select" editorParams="{

Using dijit.InlineEditBox with dijit.form.Select

好久不见. 提交于 2019-12-06 15:53:34
I'm trying to use a dijit.form.Select as the editor for my dijit.InlineEditBox. Two problems / unexpected behavior seem to occur: Inconsistently, the InLineEditBox doesn't have the initial value set as selected Consistently, after selecting a choice, the value that should be hidden is shown instead of the label. The width isn't set to 130px Here's working code: http://jsfiddle.net/mimercha/Vuet8/7/ The jist <span dojoType="dijit.InlineEditBox" editor="dijit.form.Select" editorParams="{ options: [ {label:'None',value:'none'}, {label:'Student',value:'stu'}, {label:'Professor',value:'prof'