aboutsummaryrefslogtreecommitdiff
path: root/src/components/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/common')
-rw-r--r--src/components/common/LoginInput.tsx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/components/common/LoginInput.tsx b/src/components/common/LoginInput.tsx
index c82682d7..e4d6b957 100644
--- a/src/components/common/LoginInput.tsx
+++ b/src/components/common/LoginInput.tsx
@@ -50,11 +50,10 @@ const LoginInput = (props: LoginInputProps) => {
blurOnSubmit={
props.isUsername ? false : props.isPassword ? undefined : undefined
}
- // ref={props.isUsername ? undefined : useRef()}
secureTextEntry={
props.isUsername ? false : props.isPassword ? true : false
}
- // ref={props.ref}
+ ref={props.input_ref}
/>
{!props.isValid && (
<Text style={styles.invalidCredentials}>{props.validationWarning}</Text>
@@ -88,7 +87,7 @@ interface LoginInputProps {
isPassword?: boolean;
onChangeText: (input: string) => void;
onSubmitEditing?: () => void;
- // ref?: string;
+ input_ref?: object;
focusPasswordInput?: boolean;
isValid?: boolean;
validationWarning?: string;