<AutoFormElement id="afeType">
<Property name="name">problemType</Property>
<Property name="property">problemType</Property>
<Property name="trigger">dropDown1</Property>
<Property name="editable">false</Property>
<Editor/>
</AutoFormElement>
<AutoFormElement id="afeUnit">
<Property name="name">problemUnit</Property>
<Property name="property">problemUnit</Property>
<Property name="readOnly">true</Property>
<Editor/>
</AutoFormElement>
我要用problemType 选择的值去确定problemUnit字段是否能填充值
在dropDown1的onAttributeChange事件中写了如下代码,if()是想得到problemType的值,请帮看下应该咋搞才能渠道problemType值?
if(view.get("#afeType").getValue = "外部"){
view.set("#afeUnit.readOnly",false);
}
有会dorado的没?