amis icon indicating copy to clipboard operation
amis copied to clipboard

弹框中的表单使用combo多行模式的时候,新增就退出

Open toneygu opened this issue 6 years ago • 3 comments

image

toneygu avatar Apr 05 '20 12:04 toneygu

没能复现呢,发一下版本和具体schema配置?

RickCole21 avatar Apr 06 '20 07:04 RickCole21

没能复现呢,发一下版本和具体schema配置?

v1.0.10 "_from": "[email protected]", "_resolved": "https://registry.npm.taobao.org/amis/download/amis-1.0.10.tgz"

{ "type": "page", "title": "SubForm 示例2", "body": [ { "type": "form", "api": "https://houtai.baidu.com/api/mock2/saveForm?waitSeconds=2", "title": "Form elements", "mode": "horizontal", "controls": [ { "type": "button", "label": "弹个表单", "actionType": "dialog", "dialog": { "title": "在弹框中的表单", "closeOnEsc": false, "actions": [ { "label": "取消", "actionType": "close", "type": "button" }, { "label": "确认", "actionType": "confirm", "type": "button", "level": "primary" } ], "body": { "type": "form", "api": "https://houtai.baidu.com/api/mock2/form/saveForm?waitSeconds=2", "title": "常规模式", "mode": "normal", "submitOnChange": false, "controls": [ { "type":"combo", "multiple":true, "submitOnChange": false, "value":[{}], "controls":[ { "label": "名称", "name": "label", "type": "text", "required": true } ] }

                        ]
                    }
                }
            }
        ]
    }
]

}

toneygu avatar Apr 08 '20 05:04 toneygu

这个配置有点问题,combo 需要有 name

nwind avatar Sep 22 '21 07:09 nwind