Open 80631004 opened 6 years ago
json: { "debug": true, "properties": { "username": { "type": "string", "title": "用户名", "widget": { "placeholder": "请输入用户名", "autocomplete": "off" } } }, "required": [], "button": { "items": [ { "label": "登录", "id": "send", "submit": true }, { "label": "重置", "id": "reset" } ] } }
问题是,username为非必填,但还需要输入后,鼠标在其它任何地方点一下之后,submit button才可点击.
json: { "debug": true, "properties": { "username": { "type": "string", "title": "用户名", "widget": { "placeholder": "请输入用户名", "autocomplete": "off" } } }, "required": [], "button": { "items": [ { "label": "登录", "id": "send", "submit": true }, { "label": "重置", "id": "reset" } ] } }
问题是,username为非必填,但还需要输入后,鼠标在其它任何地方点一下之后,submit button才可点击.