You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.type=money
2.defaultValue or value = some number
3.delete initial value use virtual keyboard
What is expected?
can delete initial value
What is actually happening?
Uncaught TypeError: value.substring is not a function
at NumberInput._this.onKeyboardClick (CustomInput.js:136)
at CustomKeyboard._this2.onKeyboardClick (CustomKeyboard.js:117)
at onClick (CustomKeyboard.js:87)
at HTMLUnknownElement.callCallback (react-dom.development.js:100)
at Object.invokeGuardedCallbackDev (react-dom.development.js:138)
at Object.invokeGuardedCallback (react-dom.development.js:187)
at Object.invokeGuardedCallbackAndCatchFirstError (react-dom.development.js:201)
at executeDispatch (react-dom.development.js:466)
at executeDispatchesInOrder (react-dom.development.js:488)
at executeDispatchesAndRelease (react-dom.development.js:586)
The text was updated successfully, but these errors were encountered:
Version
2.1.8
Environment
react 16.3.1 chrome
Reproduction link
https://github.com/ant-design/ant-design-mobile
Steps to reproduce
1.type=money
2.defaultValue or value = some number
3.delete initial value use virtual keyboard
What is expected?
can delete initial value
What is actually happening?
Uncaught TypeError: value.substring is not a function
at NumberInput._this.onKeyboardClick (CustomInput.js:136)
at CustomKeyboard._this2.onKeyboardClick (CustomKeyboard.js:117)
at onClick (CustomKeyboard.js:87)
at HTMLUnknownElement.callCallback (react-dom.development.js:100)
at Object.invokeGuardedCallbackDev (react-dom.development.js:138)
at Object.invokeGuardedCallback (react-dom.development.js:187)
at Object.invokeGuardedCallbackAndCatchFirstError (react-dom.development.js:201)
at executeDispatch (react-dom.development.js:466)
at executeDispatchesInOrder (react-dom.development.js:488)
at executeDispatchesAndRelease (react-dom.development.js:586)
The text was updated successfully, but these errors were encountered: