You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to render an InputNumber component via antd with rule required AND validate status mechanism. my code: <Form.Item label='My Name' rules={[{ required: true }]} initialValue={someInitialValue} hasFeedback validateStatus={fieldValidationStatus} help={fieldValidationMessage} name='my_name' ><InputNumber value={fieldValue} onChange={(e) => {setFieldValue(e)}} onBlur={(e) => {handleOnBlurField(e.target.value)}} /></Form.Item>
The issue is that the required rule is just not working..if I remove the help property it will work but I want all of them works together.
The text was updated successfully, but these errors were encountered:
I am trying to render an InputNumber component via antd with rule required AND validate status mechanism. my code:
<Form.Item label='My Name' rules={[{ required: true }]} initialValue={someInitialValue} hasFeedback validateStatus={fieldValidationStatus} help={fieldValidationMessage} name='my_name' ><InputNumber value={fieldValue} onChange={(e) => {setFieldValue(e)}} onBlur={(e) => {handleOnBlurField(e.target.value)}} /></Form.Item>
The issue is that the required rule is just not working..if I remove the
help
property it will work but I want all of them works together.The text was updated successfully, but these errors were encountered: