| |||||||||||||||||||||||
password | boolean | false | 否 | 是否是密码类型 | 1.0.0 | ||||||||||||||||||
placeholder | string | 是 | 输入框为空时占位符 | 1.0.0 | |||||||||||||||||||
placeholder-style | string | 是 | 指定 placeholder 的样式 | 1.0.0 | |||||||||||||||||||
disabled | boolean | false | 否 | 是否禁用 | 1.0.0 | ||||||||||||||||||
maxlength | number | 140 | 否 | 最大输入长度,设置为 -1 的时候不限制最大长度 | 1.0.0 | ||||||||||||||||||
cursor-spacing | number | 0 | 否 | 指定光标与键盘的距离,取 input 距离底部的距离和 cursor-spacing 指定的距离的最小值作为光标与键盘的距离 | 1.0.0 | ||||||||||||||||||
auto-focus | boolean | false | 否 | (即将废弃,请直接使用 focus )自动聚焦,拉起键盘 | 1.0.0 | ||||||||||||||||||
focus | boolean | false | 否 | 获取焦点 | 1.0.0 | ||||||||||||||||||
confirm-type | string | done | 否 | 设置键盘右下角按钮的文字,仅在type='text'时生效 | 1.1.0 | ||||||||||||||||||
|
01-27
1万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-08
898
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-09
2887
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
04-15
941
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)