Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Form Core] defaultValue from field doesn't take precedence over form defaultValues #435

Closed
joaom00 opened this issue Sep 2, 2023 · 0 comments · Fixed by #463
Closed
Labels

Comments

@joaom00
Copy link
Contributor

joaom00 commented Sep 2, 2023

Describe the bug

defaultValue from field doesn't take precedence over form defaultValues

Your minimal, reproducible example

Reproducible example

Steps to reproduce

  1. Go to Codesandbox
  2. See that the default value in the first name field is João instead of Pedro

Expected behavior

I expected to see Pedro as the default value of the first name field

How often does this bug happen?

Every time

Screenshots or Videos

No response

Platform

  • OS: Linux
  • Browser: Chrome
  • Version: 115

Tanstack Form adapter

vanilla

TanStack Form version

v0.0.15

TypeScript version

Latest (I guess)

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants