Releases: marcocesarato/react-native-input-spinner
Releases · marcocesarato/react-native-input-spinner
Release v1.2.19
Props
initialValue
string: Initial value of the Spinner
Release v1.2.18
Props
returnKeyType
string: Determines how the return key should look. On Android you can also use returnKeyLabel
returnKeyLabel
string: Sets the return key to the label. Use it instead of returnKeyType
.
Release v1.2.17
- Fix some issues
Release v1.2.16
New props
selectTextOnFocus
bool: Iftrue
, all text will automatically be selected on focus.selectionColor
string: The highlight and cursor color of the text input.
Release v1.2.15
New events
onFocus(e)
Callback that is called when the text input is focused.onBlur(e)
Callback that is called when the text input is blurred.onKeyPress(e)
Callback that is called when a key is pressed.
New props
maxLength
number: Limits the maximum number of characters that can be entered.autofocus
bool: If true, focuses the input oncomponentDidMount
.
New methods
isFocused()
return if text input is focusedblur()
blur text inputclear()
clear text inputfocus()
focus text input
Release v1.2.14
- Fix bug with decimals #5
Release v1.2.12
- Add onSubmit event
- Fixed some bugs and issues
v1.2.9
- Fixed _isDisabledButtonLeft
Previously _isDisabledButtonLeft was checking whether the right button was disabled, not the left one, so when the right button was set as disabled, both would be.
Merged pull request of fabriond
v1.2.8
- Fixed disable right button
v1.2.7
- Improved disable check
- New property buttonLeftDisabled
- New property buttonRightDisabled