Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nvue下app端input设置maxlength获取到的长度有问题 #1073

Closed
wakaryry opened this issue Dec 3, 2019 · 3 comments
Closed

nvue下app端input设置maxlength获取到的长度有问题 #1073

wakaryry opened this issue Dec 3, 2019 · 3 comments
Labels
bug Something isn't working

Comments

@wakaryry
Copy link

wakaryry commented Dec 3, 2019

<input v-model="phone" type="number" :maxlength="11" style="height: 100rpx; padding-left: 24rpx; padding-right: 24rpx;" placeholder="手机号" />

依然可以获取到12位。

限制11位,超出之后虽然不再显示,但是可以获取到12位。

测试版 2.4.4

ios-模拟器下。

其它未测试

@dcloudhdx
Copy link
Contributor

Bug 已确认,仅 iOS 有问题

@dcloudhdx dcloudhdx added the bug Something isn't working label Dec 5, 2019
@wakaryry
Copy link
Author

wakaryry commented Dec 5, 2019

哎。只能说写这个的哥们也太自信了。

@dcloudhdx
Copy link
Contributor

HBuilderX 2.4.7 alpha 版本已修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants