FormattedMessage not working inside Form.Item
element of ant-design, if FormattedMessage outside Form.Item
element working well. Help me!
FormattedMessage outside Form.Item
element working well
<Form.Item label={<FormattedMessage id="formSignIn.emailField" />}>
{form.getFieldDecorator('email', {
rules: [{ required: true, message: <FormattedMessage id="formSignIn.emailValidate" />}],
})(
<FormattedMessage id="formSignIn.emailValidate">
{placeholder => (
<Input prefix={<Icon type="user" style={{ color: 'rgba(0,0,0,.25)' }} />} placeholder={placeholder} />
)}
</FormattedMessage>,
)}
</Form.Item>
FormattedMessage not working inside Form.Item
element of ant-design