react-native-ui-lib icon indicating copy to clipboard operation
react-native-ui-lib copied to clipboard

Incubator TextField - No line and cannot disable autoCapitalize

Open dlogvin opened this issue 3 years ago • 1 comments

Description

The component does not render the line under the text, and I cannot disable autoCapitalize.

Related to

  • [x] Components

Steps to reproduce

<TextField
    autoCapitalize='none'
    placeholder='e-mail'
    floatingPlaceholder
    onChangeText={() => console.log('changed')}
    enableErrors
    validate={['required', 'email', (value) => value.length > 6]}
    validationMessage={['Field is required', 'Email is invalid', 'Password is too short']}
    maxLength={30}
    style={{ fontFamily: 'Manrope-SemiBold' }}
/>

Screenshot: Screenshot 2022-07-12 at 01 41 40

dlogvin avatar Jul 11 '22 21:07 dlogvin

Try passing the preset prop with default value

ethanshar avatar Aug 18 '22 12:08 ethanshar