title: Add validation in formitem in reactjs
body: <p>In my reactjs code I want to add validation for password and email. How?</p>
  
  <pre><code>            &lt;Col span={12}&gt;
                  &lt;FormItem&gt;
                      {getFieldDecorator('Password', {
                          initialValue: "",
                          rules: [{
                              required: true, message: 'Please Input your Password!',
                          }],
                      })(
                          &lt;Input placeholder="Password" /&gt;
                      )}
                  &lt;/FormItem&gt;
              &lt;/Col&gt;
  
              &lt;Col span={12}&gt;
                  &lt;FormItem&gt;
                      {getFieldDecorator('Email', {
                          initialValue: "",
                          rules: [{
                              required: true, message: 'Please Input your Email!',
                          }],
                      })(
                          &lt;Input placeholder="Email" /&gt;
                      )}
                  &lt;/FormItem&gt;
              &lt;/Col&gt;
  </code></pre>
  
  <p>Also I want to hide password by bullets or anything else</p>