无法根据条件从UI隐藏/显示dx-field-label和dx-field-value
我尝试了itemoption但它不起作用
.html:
<div class="dx-field">
<div class="dx-field-label">Data</div>
<div class="dx-field-value">
<div dx-text-box="$ctrl.dataOptions"></div>
</div>
</div>
.js:
ctrl.dataOptions = { 禁用:正确, bindingOptions:{ 值:“ $ ctrl.NewData” } };
要根据条件从用户界面隐藏/显示dx-field-label和dx-field-value