amis/docs/renderers/Checkbox.md
2019-05-09 20:50:49 +08:00

19 lines
344 B
Markdown

### Checkbox
勾选框
- `type` 请设置成 `checkbox`
- `option` 选项说明
- `trueValue` 默认 `true`
- `falseValue` 默认 `false`
- 更多配置请参考 [FormItem](./FormItem.md)
```schema:height="200" scope="form-item"
{
"name": "checkbox",
"type": "checkbox",
"label": "Checkbox",
"option": "选项说明"
}
```