form icon indicating copy to clipboard operation
form copied to clipboard

[email protected] 在配合antd-mobile时使用getFieldProps,不能输入中文。

Open Evanxuke opened this issue 7 years ago • 5 comments

<InputItem type="text"
{......getFieldProps('xxxx', { rules: [ {required: true, message: '请输入xxxx'}], })}> {...} </InputItem>

输入框一旦输入中文就会触发重新render,中文输入法的框打开一瞬间立刻关闭,input里面出现一个键入的英文

Evanxuke avatar Apr 15 '18 09:04 Evanxuke

Please provide a re-producible demo: http://codepen.io/benjycui/pen/NdQdBw?editors=0011

benjycui avatar Apr 16 '18 09:04 benjycui

Ok, here is repo: https://snack.expo.io/Byptk4Ghf. Please use Expo on your device to run it. This problem occurs only when you use rc-form.

wanxger avatar May 24 '18 22:05 wanxger

the same problem on ios, android works well

felixzxk avatar Jun 09 '18 01:06 felixzxk

the same problem on ios

Bytesu avatar Jul 09 '18 14:07 Bytesu

@Evanxuke 用getFieldDecorator没问题

Bytesu avatar Jul 10 '18 08:07 Bytesu