marcocesarato / react-native-input-spinner

An extensible input number spinner component for react-native highly customizable. This component enhance a text input for entering numeric values, with increase and decrease buttons.
https://marcocesarato.github.io/react-native-input-spinner/
GNU General Public License v3.0
414 stars 34 forks source link

Warning: Invalid DOM property `autofocus`. Did you mean `autoFocus`? #54

Closed isabellating closed 3 years ago

isabellating commented 3 years ago

Hi, I'm currently getting the above error, but functionality seems to work fine for me. Here's the relevant stack:

Warning: Invalid DOM property autofocus. Did you mean autoFocus? in input (created by TextInput) in TextInput (at InputSpinner.js:1314) in div (created by View) in View (at InputSpinner.js:1309) in InputSpinner (at src/index.js:9)

Thank you for this component by the way, I really like it!

marcocesarato commented 3 years ago

Hi, thanks for reporting this issue, yes it was a mistake, autofocus should be autoFocus. Fixed on release "1.7.10" Thanks again for reporting this issue is appreciated.