1.1 KiB
1.1 KiB
title, description, type, group, menuName, icon, order
| title | description | type | group | menuName | icon | order |
|---|---|---|---|---|---|---|
| InputPassword 密码输入框 | 0 | null | InputPassword | 35 |
基本用法
{
"type": "form",
"api": "/api/mock2/form/saveForm",
"body": [
{
"type": "input-password",
"name": "password",
"label": "密码"
}
]
}
配置密码显/隐藏
revealPassword属性可以设置是否展示密码显/隐按钮,默认为true。
{
"type": "form",
"api": "/api/mock2/form/saveForm",
"body": [
{
"type": "input-password",
"name": "password",
"label": "密码",
"revealPassword": false
}
]
}
属性表
请参考输入框
| 属性名 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| revealPassword | boolean |
true |
是否展示密码显/隐按钮 |
事件表
请参考输入框
动作表
请参考输入框