Skip to content

Text input value error #17664

@koswarabilly

Description

@koswarabilly

Is this a bug report?

maybe

Have you read the Contributing Guidelines?

no

Environment

(Write your steps here:)

  1. I wanted to have two buttons that are able to add and remove new textinput (not the value) onclick
  2. i want to assign the value of each textinput to an array using onChangeText props
  3. I add 2 field , then i input in the first field
  4. I try to delete it which mean i have to delete the data in the array too right? i did and the array change too but the data from the first field move to the second field which is weird
  5. the other time i try, i add a textinput and input some data to it then add new textinput when i remove it , it works perfectly fine which make me confuse

Expected Behavior

The textinput value should not follow the previous array that have been deleted

Actual Behavior

Just watch the gif
The array assigned are edited correctly which make me more confuse
ezgif com-video-to-gif 1

Reproducible Demo

(Paste the link to an example project and exact instructions to reproduce the issue.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Ran CommandsOne of our bots successfully processed a command.StaleThere has been a lack of activity on this issue and it may be closed soon.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions