mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
feat(Field): add clickable prop (#1946)
This commit is contained in:
parent
66c7427393
commit
982dcd7a88
@ -24,6 +24,10 @@
|
||||
|
||||
- `color`属性支持渐变色
|
||||
|
||||
##### Field
|
||||
|
||||
- 新增`clickable`属性
|
||||
|
||||
##### Popup
|
||||
|
||||
- 新增`round`属性
|
||||
|
@ -176,6 +176,7 @@ Page({
|
||||
| disabled | 是否禁用输入框 | *boolean* | `false` |
|
||||
| readonly | 是否只读 | *boolean* | `false` |
|
||||
| clearable | 是否启用清除控件 | *boolean* | `false` |
|
||||
| clickable | 是否开启点击反馈 | *boolean* | `false` |
|
||||
| required | 是否显示表单必填星号 | *boolean* | `false` |
|
||||
| password | 是否是密码类型 | *boolean* | `false` |
|
||||
| title-width | 标题宽度 | *string* | `90px` |
|
||||
|
@ -25,6 +25,7 @@ VantComponent({
|
||||
password: Boolean,
|
||||
iconClass: String,
|
||||
clearable: Boolean,
|
||||
clickable: Boolean,
|
||||
inputAlign: String,
|
||||
customStyle: String,
|
||||
confirmType: String,
|
||||
|
@ -7,6 +7,7 @@
|
||||
border="{{ border }}"
|
||||
is-link="{{ isLink }}"
|
||||
required="{{ required }}"
|
||||
clickable="{{ clickable }}"
|
||||
custom-style="{{ customStyle }}"
|
||||
title-width="{{ titleWidth }}"
|
||||
custom-class="van-field"
|
||||
|
Loading…
x
Reference in New Issue
Block a user