Skip to content

Passing TextInput props dynamically hides text input field Value #1346

@gayathrithedev

Description

@gayathrithedev

Description

The following object is my form data.

const formData = [
{
label: 'Username',
name: 'username',
},
{
label: 'Email',
name: 'email',
},
{
label: 'Password',
name: 'password',
},
];

And I am passing this values into my text input like this,
{
formData.map( data => (
<TextInput
label={data.label}
placeholder={data.placeholder}
/>
)
)
}

In IOS it is working fine,
But In Android When enter value in username and moving to next text input, the username value suddenly goes hiddden.

Reproducible Demo

It should show the entered value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions