form icon indicating copy to clipboard operation
form copied to clipboard

Issue with array + react + numbers

Open guhur opened this issue 1 year ago • 2 comments

Describe the bug

This comes from the array example. Some values disappear as shown in this video -> each time I press "Add person", the age disappear.

ScreenRecording2024-05-10at13 12 14-ezgif com-video-to-gif-converter

Your minimal, reproducible example

https://codesandbox.io/p/devbox/ecstatic-wind-llvz6n

Steps to reproduce

To reproduce this bug, press "Add person".

Expected behavior

I am expected that the age stays in place aside of the name.

How often does this bug happen?

Every time

Screenshots or Videos

No response

Platform

macOS, Firefox 125.0.3

TanStack Form adapter

react-form

TanStack Form version

v0.19.4

TypeScript version

v5.4.5

Additional context

No response

### Tasks

guhur avatar May 10 '24 11:05 guhur

Hey, the link you provided in the example seems to be the default arrays example. Could you please update it with the link of a project reproducing the issue? :)

Balastrong avatar May 12 '24 11:05 Balastrong

Done :-)

Hey, the link you provided in the example seems to be the default arrays example. Could you please update it with the link of a project reproducing the issue? :)

Done! Sorry about that

guhur avatar May 17 '24 04:05 guhur

This is now fixed in #781, you can update @tanstack/react-form to 0.24 or higher :)

Balastrong avatar Jun 27 '24 08:06 Balastrong