-
Clone the repo and run the following:
npm install npm run setup npm run dev
-
Visit http://localhost:3000/repro or http://localhost:3000 and click the link.
-
Assuming
npm run setup
worked and the local SQLite database was seeded, there should already be a Contributing Factor entry in the database with the nametest
. Fill out the name field of the "Add a new entry" form with a value oftest
and submit. You should see an error message that an entry with that name already exists, but the invalid input (thename
field) does not get auto-focused. Also, the only reason you see the correct error message is because of hack I through in to pull the error out of the form errors object rather than thename
field config errors array. -
To "fix" this, you can comment out the
loader
function in theapp/routes/_app.repro.tsx
route file. For some reason, this makes the form behave as expected. 🤯
-
Notifications
You must be signed in to change notification settings - Fork 0
halljus/conform-repro-243
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published