mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 11:08:45 +08:00
docs: Fix v3 form mig doc
This commit is contained in:
parent
92c189f246
commit
55734400cc
@ -102,7 +102,7 @@ class Demo extends React.Component {
|
||||
|
||||
render() {
|
||||
return (
|
||||
<Form ref={formRef}>
|
||||
<Form ref={this.formRef}>
|
||||
<Form.Item name="username" rules={[{ required: true }]}>
|
||||
<Input />
|
||||
</Form.Item>
|
||||
|
@ -104,7 +104,7 @@ class Demo extends React.Component {
|
||||
|
||||
render() {
|
||||
return (
|
||||
<Form ref={formRef}>
|
||||
<Form ref={this.formRef}>
|
||||
<Form.Item name="username" rules={[{ required: true }]}>
|
||||
<Input />
|
||||
</Form.Item>
|
||||
|
Loading…
Reference in New Issue
Block a user