I'm using Ant Design with React JS, and I use the Form.Item normalize prop to parse the value that came from api to input.
I want to do the inverse now, normalize from input to api format on submit.
For example: I have a input called cash, that receive a float and normalize to currency, but on submit form I'd like to receive the value in float again, is there possible? I search in github issues but find nothing related.
<Form onSubmit={values => send(values)}> // I'd like retrieve values.cash in float without parse directly every time
<Input normalize={normalize_to_currency} name="cash" />
</Form>
PS: I'm using non-controlled ant design form.