On he official page https://redux-form.com/6.6.1/examples/fieldlevelvalidation/
On the field "Age" is an example of how Redux-forms wrongly assumes the letter e can be a valid character on keyPress, instead of only allowing numbers.
I have tried the following validations, to exclude the letter e, with no success:
export const onlyNumber = (value) => {
return /^[^e]$|[0123456789]$/i.test(value);
};
What could be a possible successful way of skipping Redux-Forms way of validating and actually being able to make a number-only (with 'e' excluded) field?