arelstone/react-native-email-chip

Email input is not accepting input, whatever I type input is cleared

Closed this issue · 6 comments

When typing in the email input, the input is cleared.
My code block is attached below:

function PlayerInvitationScreen(props: any) {
    const [emails, setEmails] = useState<string[]>([]);
    return (
       <View>
           <View style={styles.image}>
                <Image source={require('../assets/images/letter.png')}/>
           </View>
           <View style={styles.textContainer}>
               <Text textSize='2xl' style={{fontWeight:'bold'}}>Invite User</Text>
           </View>
           <EmailChipInput
               entries={emails}
               onSubmit={(emails: string[]) => setEmails(emails)}
           />
       </View>
    )
}

I am using the version 2.5.2
I have attached the recorded video.

Screen.Recording.2023-04-17.at.12.30.27.PM.mov

Hello @arelstone, please help me with the issue.

@saroj-purbey I'm sorry that I havn't seen this issue before now. I've been on a a well deserved vacation.

Have you solved this?

From what I can see your example looks correct

Closing issue due to being stale. Please reopen if issue presists

I am unable to resolve this issue.

@saroj-purbey Sorry for the delay. Life has been busy lately.

Version 2.5.3 has been released which includes a fix for this

Hi @arelstone I had the same issue that Saroj has I'm using version 2.5.4.