mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
feat(Field): add new prop showConfirmBar @rex-zsd (#1040)
This commit is contained in:
parent
cd0544e68d
commit
66e845bf12
@ -164,6 +164,7 @@ Page({
|
|||||||
| adjust-position | 键盘弹起时,是否自动上推页面 | `Boolean` | `true` |
|
| adjust-position | 键盘弹起时,是否自动上推页面 | `Boolean` | `true` |
|
||||||
| use-icon-slot | 是否使用 icon slot | `Boolean` | `false` |
|
| use-icon-slot | 是否使用 icon slot | `Boolean` | `false` |
|
||||||
| use-button-slot | 是否使用 button slot | `Boolean` | `false` |
|
| use-button-slot | 是否使用 button slot | `Boolean` | `false` |
|
||||||
|
| show-confirm-bar | 是否显示键盘上方带有”完成“按钮那一栏,只对 textarea 有效 | `Boolean` | `true` |
|
||||||
|
|
||||||
### Event
|
### Event
|
||||||
|
|
||||||
|
@ -29,6 +29,10 @@ VantComponent({
|
|||||||
customStyle: String,
|
customStyle: String,
|
||||||
useIconSlot: Boolean,
|
useIconSlot: Boolean,
|
||||||
useButtonSlot: Boolean,
|
useButtonSlot: Boolean,
|
||||||
|
showConfirmBar: {
|
||||||
|
type: Boolean,
|
||||||
|
value: true
|
||||||
|
},
|
||||||
placeholderStyle: String,
|
placeholderStyle: String,
|
||||||
adjustPosition: {
|
adjustPosition: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
placeholder-class="{{ error ? 'van-field--error' : '' }}"
|
placeholder-class="{{ error ? 'van-field--error' : '' }}"
|
||||||
cursor-spacing="{{ cursorSpacing }}"
|
cursor-spacing="{{ cursorSpacing }}"
|
||||||
adjust-position="{{ adjustPosition }}"
|
adjust-position="{{ adjustPosition }}"
|
||||||
|
show-confirm-bar="{{ showConfirmBar }}"
|
||||||
bindinput="onInput"
|
bindinput="onInput"
|
||||||
bind:blur="onBlur"
|
bind:blur="onBlur"
|
||||||
bind:focus="onFocus"
|
bind:focus="onFocus"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user