Version Number
7.41.0
Codesandbox/Expo snack
https://codesandbox.io/s/magical-dust-n1nor5?file=/src/App.tsx
Steps to reproduce
Using mode onChange:
- Change the input from 0 to any string, like
foo
- The button will be enabled, until you lose the focus on the input
- Change again the value of the input from
foo to 1
- In this case the button will be immediately enabled, without losing the focus
Using mode all:
- Change the input from 0 to any string
- The button will always be enabled
Expected behaviour
Using mode onChange:
- Change the input from 0 to any string, like
foo
- The button will be immediately disabled
Using mode all:
- Change the input from 0 to any string
- The button will be immediately disabled
What browsers are you seeing the problem on?
Firefox, Chrome
Relevant log output
No response
Code of Conduct
Version Number
7.41.0
Codesandbox/Expo snack
https://codesandbox.io/s/magical-dust-n1nor5?file=/src/App.tsx
Steps to reproduce
Using mode
onChange:foofooto1Using mode
all:Expected behaviour
Using mode
onChange:fooUsing mode
all:What browsers are you seeing the problem on?
Firefox, Chrome
Relevant log output
No response
Code of Conduct