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
419 stars 34 forks source link

input spinner is showing more than max value when value is entered by keypad #49

Closed tmtawhid closed 3 years ago

tmtawhid commented 3 years ago

Here is my input-spinner setting where max value is 11. I was able to enter 55 value using Keypad.

<View style={{width: 92}}> <InputSpinner value={count} style={GlobalStyle.InputSpinner} skin="clean" height={35} min={0} max={11} continuity maxLength={2} editable={true} onChange={(num) => { setcount(num); //alert(num); }}
fontSize={12} buttonFontSize={14} colorMax={'#f04048'} colorMin={'#42A5F5'} />

tmtawhid commented 3 years ago

Screenshot 2021-02-22 074909

marcocesarato commented 3 years ago

Hi, thanks for reporting this issues. This issues come probably from release v1.7.0. Now solved on v1.7.6. Thanks again for your support.

tmtawhid commented 3 years ago

WOW, it is fixed. Thank you so much to fix this issue.