Skip to content

SolidJS Array Field Not Working #572

Description

@alexvuka1

Describe the bug

I have tried to follow the example given in the docs (link) as closely as possible, but with no luck. Adding a new field works, but typing in it results in the field disappearing. Also, typescript is not happy with type checking of the index prop and when calling the handleChange function.

Your minimal, reproducible example

https://stackblitz.com/edit/solid-vite-fpsaqi?file=src%2Findex.tsx

Steps to reproduce

  1. Click the 'Add name' button
  2. Start typing in the field

Expected behavior

As a user I expected the be able to type into the array field.

How often does this bug happen?

Every time

Screenshots or Videos

No response

Platform

  • OS: Windows/WSL2
  • Browser: Chrome
  • Version: 120

Tanstack Form adapter

solid-form

TanStack Form version

0.13.3

TypeScript version

5.3.3

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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