title: Normalize redux-form field value onBlur
body: <p>How can I normalize the value of the <strong>redux-form</strong> field when <strong>onBlur</strong> is triggered. I tried the following, but it didn't seem to work: </p>
  
  <pre><code>const normalizeAmount = (node) =&gt; {
    const newValue = node.target.value;
  
    return `--${newValue}--`;
  };
  
  render() {
      const { handleSubmit, pristine, invalid, submitting, error, blur } = this.props;
  
  return (
        &lt;form onSubmit={handleSubmit(submit)}&gt;
          &lt;div name="form-container"&gt;
            &lt;Field
              name="foo"
              component={CustomInput}
              onBlur={blurValue =&gt; blur(normalizeValue(blurValue))}
            /&gt; 
            ...
  );
  </code></pre>