react-native-hide-show-password-input icon indicating copy to clipboard operation
react-native-hide-show-password-input copied to clipboard

keyboard type is inconsistent

Open cleblanc-nuance opened this issue 3 years ago • 0 comments

This is a strange behavior. When toggling the eye the keyboard goes from this

image

to this

image

I'm using it like this

<PasswordInputText
  testID="pin input"
  style={styles.input}
  fontSize={14}
  keyboardType="decimal-pad"
  multiline={false}
  onChangeText={onPinChange}
  onSubmitEditing={() => pin && onSubmit(pin)}
  value={pin}
  label={`${t('login:pin')}*`}
  secureTextEntry
  tintColor="#696969"
  textColor="#696969"
  baseColor="#696969"
  iconColor="#696969"
  lineWidth={1}
/>

cleblanc-nuance avatar Feb 09 '22 16:02 cleblanc-nuance