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

InputItem(type="phone"])输入号码第5位时光标会移到第4数字前(测试机型:oneplus5) #2193

Closed
X-sirs opened this issue Dec 26, 2017 · 6 comments
Assignees
Labels

Comments

@X-sirs
Copy link

X-sirs commented Dec 26, 2017

issue:测试机型oneplus5在InputItem(type="phone"])输入号码第5位时光标会移到第4数字前导致输入顺序错乱
<InputItem type="phone" placeholder = "input your phonenumber"
{ ...getFieldProps('phoneNumber', {
rules: [{
required: true
}]
})
}
error = {this.state.phoneNumber}
onErrorClick = {() => _this.handleError("phoneNumber")} >
TEL:

@ant-design-bot
Copy link

It will be better to write your issue/comment in English, so more people can understand you.
And this means that more people can help you or benefit from your issue/comment.
See: ant-design/ant-design#4897

@paranoidjk
Copy link
Contributor

@ant-design-bot markdown

@ant-design-bot
Copy link

Hello @X-sirs, please format your issue in markdown https://segmentfault.com/markdown

@paranoidjk
Copy link
Contributor

没有这个测试机型,能否帮忙排查?

另外请先确认 https://mobile.ant.design/components/input-item-cn/ 是否ok。

@ant-design-bot
Copy link

Hello @X-sirs. Please provide a re-producible demo: https://codepen.io/pen?template=LWpaKe&editors=0010

@micooz
Copy link
Contributor

micooz commented May 19, 2018

此问题已修复至 master,请等待下个版本发布。

Refs: #2532 #2537

@micooz micooz closed this as completed May 19, 2018
@micooz micooz added the bug label May 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants