We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
复现代码:
<Form model={this.state.form} labelWidth="80" onSubmit={this.onSubmit.bind(this)}> <Form.Item label="用户名"> <Input value={this.state.form.username} onChange={this.onChange.bind(this, 'username')}></Input> </Form.Item> <Form.Item label="密码"> <Input value={this.state.form.password} type="password" onChange={this.onChange.bind(this, 'username')}></Input> </Form.Item> <Form.Item> <Button type="primary" nativeType="submit">登录</Button> </Form.Item> </Form>
react-16.0.0版本,使用表单Input的时候会报错:
Uncaught Error: Element ref was specified as a string (input) but no owner was set. You may have multiple copies of React loaded.
参考:JedWatson/react-select#2025 JedWatson/react-select#606
The text was updated successfully, but these errors were encountered:
我们正在兼容react@16, 即将发布的1.4.0版本将修复这个问题, #621
1.4.0
Sorry, something went wrong.
请升级到[email protected]试试看, 暂时先关闭这个issue, 有问题随时可以重新打开.
[email protected]
No branches or pull requests
复现代码:
react-16.0.0版本,使用表单Input的时候会报错:
Uncaught Error: Element ref was specified as a string (input) but no owner was set. You may have multiple copies of React loaded.
参考:JedWatson/react-select#2025 JedWatson/react-select#606
The text was updated successfully, but these errors were encountered: