TextInput

Properties

Property Supported Supported on Roku Dynamic on Roku Notes
Inherits View props.        
placeholderTextColor ~v ~v ~v Keyboard handled automatically on Roku.
accessible ~v ~v N/A  
allowFontScaling ~x ~x ~x  
autoCorrect ~v ~x N/A Android Touch and iOS only. Device settings for autocorrect may override the autoCorrect prop setting.
autoFocus ~x ~x N/A  
keyboardType ~v ~x N/A  
blurOnSubmit ~x ~x N/A  
caretHidden ~v ~x Not Possible  
defaultValue ~v ~v ~v  
editable ~v ~v N/A  
maxFontSizeMultiplier ~x ~x ~x  
maxLength ~v ~v ~x  
multiline ~x ~x ~x  
onActivate ~v ~v ~v  
onBlur ~v ~v N/A  
onChange ~v ~v ~v For Roku, it is called if the OK button has been pressed and text is different.
onChangeText ~v ~v ~v For Roku, it’s called if the OK button has been pressed and the text is different.
onContentSizeChange ~x ~x N/A  
onDeactivate ~v ~v ~v  
onEndEditing ~v ~v ~v When the OK button has been pressed on the keyboard, even if text hasn’t changed. Not called if the user abandons editing.
onFocus ~v ~v ~v  
onScroll ~x ~x N/A  
onSelectionChange ~x ~x N/A  
onSubmitEditing ~v ~v ~v When the OK button has been pressed on the keyboard, even if text hasn’t changed. Not called if the user abandons editing.
placeholder ~v ~v ~v  
autoCapitalize ~x ~x N/A  
returnKeyType ~v ~v ~v  
secureTextEntry ~v ~v ~v  
selectTextOnFocus ~x ~x N/A  
selection ~x ~x N/A  
selectionColor ~x ~x N/A  
style ~v ~x N/A All border styles are unsupported on Roku.
value ~v ~v ~v  
disableFullscreenUI ~x ~x Not Possible  
inlineImageLeft ~x ~x Not Possible  
inlineImagePadding ~x ~x Not Possible  
numberOfLines ~x ~x ~x  
returnKeyLabel ~x ~x N/A  
textBreakStrategy ~x ~x N/A  
underlineColorAndroid ~x ~x N/A  
clearButtonMode ~v ~x Not Possible  
clearTextOnFocus ~v ~v ~v For Roku, it’s called when TextInput receives focus.
dataDetectorTypes ~x ~x Not Possible  
enablesReturnKeyAutomatically ~x ~x Not Possible  
keyboardAppearance ~x ~x Not Possible  
onKeyPress ~v ~v N/A Not supported on Roku
scrollEnabled ~x ~x N/A  
selectionState ~x ~x N/A  
spellCheck ~x ~x N/A  
textContentType ~x ~x N/A  

Methods

Properties Supported (not Roku) Supported on Roku Dynamic on Roku Notes
activate ~v ~v ~v  
deactivate ~v ~v ~v  
clear ~v ~v ~v