title: Why value is not displaying in form field redux
body: <p>I want to restrict user to enter only digit if someone try to enter any alphabet will remove by using the below function :</p>
  
  <pre><code>export const digitOnly = (value) =&gt; {
  try {
      if (!value) {
          return value
      }
      const onlyNums = value.toString().replace(/[^\d]/g, "");
      console.log(onlyNums);
      return onlyNums;
  } catch (error) {
      console.error(error);
  }
  </code></pre>
  
  <p>}</p>
  
  <p>In my Form i added field like :</p>
  
  <pre><code>&lt;Field 
                          name="otp" 
                          type="text"
                          component={loginProcess.renderField} 
                          label="Enter OTP*"
                          normalize={loginProcess.normalizePhone}
                          className="user_name"
                          label="OTP"                            
                          errorLabel="OTP"
                      /&gt;
  </code></pre>
  
  <p>issue is that normalize is not reflecting the value in field. But if I change this line const onlyNums = value.toString().replace(/[^\d]/g, ""); to const onlyNums = value.toString().replace(/[^\d]/g, "-"); it replace the alphabets with - </p>
  
  <p>Why this is happening?</p>