[new feature] NumberKeyboard: add maxlength prop (#3532)

This commit is contained in:
neverland
2019-06-17 15:33:25 +08:00
committed by GitHub
parent ce3dfc859a
commit 8331b7597d
6 changed files with 34 additions and 4 deletions

View File

@@ -51,7 +51,7 @@
<van-number-keyboard
v-model="value"
:show="keyboard === 'bindValue'"
:close-button-text="$t('close')"
maxlength="6"
safe-area-inset-bottom
@blur="keyboard = ''"
/>