This is what I did when I created a selectbox
entryFactory.selectBox({
id : 'taskType',
label : '计算方式',
modelProperty : 'con:taskType',
selectOptions:[
{
name:'沟通',
value:'CommunicateTask'
},
{
name:'属性',
value:'AttributeTask'
},
],
emptyParameter: true,
validate(element, value){
console.log(element,value);
}
}),
The selectbox defaults to the first value, but when saved as xml, the selectbox is empty. How do you solve this problem?