Skip to content

Commit c68de2a

Browse files
committed
Pass secureTextEntry prop through to RN implementation of TextInput.
1 parent 9d5fc8e commit c68de2a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/native-common/TextInput.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ export class TextInput extends RX.TextInput<TextInputState> {
7676
onFocus={ this._onFocus }
7777
onBlur={ this._onBlur }
7878
onScroll={ this._onScroll }
79-
selection={{ start: this._selectionStart, end: this._selectionEnd}}
79+
selection={{ start: this._selectionStart, end: this._selectionEnd }}
80+
secureTextEntry={ this.props.secureTextEntry }
8081

8182
textAlign={ this.props.textAlign }
8283
keyboardAppearance={ this.props.keyboardAppearance }

0 commit comments

Comments
 (0)