Open topherjamesknoll opened 2 weeks ago
Hi! There might be a chance of a typo in props. Input component should support TextInput props, but I can't find keyboard
or autoCompleteType
props in TextInput documentation. Could you please check that?
@greenfrvr Um; okay; this is strange. You were right in that the prop names needed to be changed. (I had those ones working as a TextInput so I was rolling with it.) But I updated them to this:
<Input
label={"Email"}
value={email}
onChangeText={(nextValue) => setEmail(nextValue?.toLowerCase())}
autoCapitalize={"none"}
keyboardType={"email-address"}
autoComplete={"email"}
textContentType={"emailAddress"}
/>
The problem is solved ONLY if I reorder my inputs to make email before username. If I put it after my username input the keyboard suggestions don't appear when typing. What a strange fix. Here's the input I originally had before it:
<Input
label={"Username"}
value={username}
onChangeText={(nextValue) => setUsername(nextValue?.toLowerCase()?.replaceAll(" ", ""))}
autoCapitalize={"none"}
/>
Anyway, nice to know it works with some [strange] limitations! Thanks!!!
🐛 Bug Report
Passing in keyboard, autoCompleteType, or textContentType to an Input component seems impossible. Is this supported?
To Reproduce
This is the code I'm using:
Expected behavior
I'm trying to get the keyboard to suggest email addresses. The result should be similar to what this does.
UI Kitten and Eva version
Just updated both to latest and still having trouble.
Environment information
THANKS!!!