title: How to use setFieldValue and pass the value as props between components
body: <p>I'm trying to use ant design forms in my sample registration form, when i'm trying to use setFieldsValue it throws error as "Cannot use setFieldsValue unless getFieldDecorator is used". But I had already used getFieldDecorator in my code.Here is a sample of my code. </p>
  
  <pre><code>handleChange = (e) =&gt; {
    const fname = e.target.name;
    const fvalue = e.target.value;
    this.props.setFieldsValue({
      fname: fvalue
    });
  }
  render(){
    const { getFieldDecorator } = this.props.form
    return (
      &lt;Row gutter={4}&gt;
        &lt;Col className="reg-personal-details-grid-column" span={24}&gt;
          &lt;FormItem {...formItemLayout} label="First Name"&gt;
            {getFieldDecorator("firstName", {
              rules: [
                {
                  required: true
                }
              ]
            })(
              &lt;Input
                placeholder="First Name"
                required
                name="firstName"
                onChange={this.handleChange}
              /&gt;
              )}
          &lt;/FormItem&gt;
        &lt;/Col&gt;
      &lt;/Row&gt;
    )
  }
  </code></pre>