mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 03:58:07 +08:00
docs: text 文档完善
This commit is contained in:
parent
e361b49e08
commit
51e000c008
@ -89,6 +89,25 @@ order: 56
|
||||
}
|
||||
```
|
||||
|
||||
## 可清除
|
||||
|
||||
通过 `"clearable": true` 可以设置文本可清除
|
||||
|
||||
```schema: scope="body"
|
||||
{
|
||||
"type": "form",
|
||||
"api": "https://3xsw4ap8wah59.cfc-execute.bj.baidubce.com/api/amis-mock/mock2/form/saveForm",
|
||||
"controls": [
|
||||
{
|
||||
"name": "text",
|
||||
"type": "text",
|
||||
"label": "text",
|
||||
"clearable: true
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
## 选择器模式
|
||||
|
||||
配置`options`即可支持选择器模式。
|
||||
|
Loading…
Reference in New Issue
Block a user