Closed CheshireJCat closed 2 months ago
{ "type": "page", "body": { "type": "combo", "name": "combo2", "label": "Combo 多选展示", "multiple": true, "items": [ { "name": "text", "label": "文本", "type": "input-text" }, { "name": "select", "label": "选项", "type": "select", "unique": true, "labelField": "name", "valueField": "id", "options": [ { "name": "选项1", "id": 1 }, { "name": "选项2", "id": 2 }, { "name": "选项3", "id": 3 }, ] } ] } }
以上schema选择一项后,其他select的options会被全部禁用
syncOptions中,使用 valueField 时,item.value 取不到值,导致了异常
item.value -> item[valueField]
👍 Thanks for this! 🏷 I have applied any labels matching special text in your issue.
Please review the labels and make any necessary changes.
What
以上schema选择一项后,其他select的options会被全部禁用
Why
syncOptions中,使用 valueField 时,item.value 取不到值,导致了异常
How