From 901bc0a8e8c3ad4ca24e5c35c8c7132ee7feb571 Mon Sep 17 00:00:00 2001 From: Santhoshkumar Sellavel Date: Sat, 2 Apr 2022 00:24:26 +0530 Subject: [PATCH] Reverted Secure Input border style --- src/components/TextInput/BaseTextInput.js | 1 + src/styles/styles.js | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/src/components/TextInput/BaseTextInput.js b/src/components/TextInput/BaseTextInput.js index d27c895403c1..a4125b73c818 100644 --- a/src/components/TextInput/BaseTextInput.js +++ b/src/components/TextInput/BaseTextInput.js @@ -262,6 +262,7 @@ class BaseTextInput extends Component { this.props.inputStyle, !hasLabel && styles.pv0, this.props.prefixCharacter && StyleUtils.getPaddingLeft(this.state.prefixWidth + styles.pl1.paddingLeft), + this.props.secureTextEntry && styles.secureInput, ]} multiline={this.props.multiline} maxLength={this.props.maxLength} diff --git a/src/styles/styles.js b/src/styles/styles.js index 664eea6e6261..c7654c4cae30 100644 --- a/src/styles/styles.js +++ b/src/styles/styles.js @@ -723,6 +723,11 @@ const styles = { margin: 1, }, + secureInput: { + borderTopRightRadius: 0, + borderBottomRightRadius: 0, + }, + textInput: { backgroundColor: themeColors.componentBG, borderRadius: variables.componentBorderRadiusNormal,