redux-form/redux-form
Auf GitHub ansehenReset does not clear non numeric in Field with type=number
Open
#4.512 geöffnet am 25. Juli 2019
Version 8bughelp wanted
Beschreibung
Are you submitting a bug report or a feature request?
BUG
What is the current behavior?
With Field with type="number", the form does not seem to recognize that there is an input. Reset button does not clear the value.
What is the expected behavior?
All inputs should be cleared even if the input is not the same with type.
Sandbox Link
Non Material UI https://codesandbox.io/s/redux-form-simple-example-xepi8 With Material UI https://codesandbox.io/s/redux-form-material-ui-example-u36me
What's your environment?
"@material-ui/core": "^4.2.0", "react": "^16.8.6", "react-dom": "^16.8.6", "react-redux": "^7.1.0", "react-scripts": "3.0.1", "redux": "^4.0.1", "redux-form": "^8.2.4", MacOS Mojave