feat(rn): makes InputDialog textInput autoFocus

This commit is contained in:
tmoldovan8x8 2021-03-26 10:51:47 +02:00 committed by GitHub
parent 0067f6b077
commit e4b34e1c89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +96,7 @@ class InputDialog extends BaseDialog<Props, State> {
{ t(this.props.contentKey) }
</Text>
<TextInput
autoFocus = { true }
onChangeText = { this._onChangeText }
style = { _dialogStyles.field }
underlineColorAndroid = { FIELD_UNDERLINE }