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

Something happen in 1.2.1? #780

Open
braginteractive opened this issue Sep 20, 2024 · 3 comments
Open

Something happen in 1.2.1? #780

braginteractive opened this issue Sep 20, 2024 · 3 comments

Comments

@braginteractive
Copy link

Describe the bug and the expected behavior

I cant really figure out what is going on after installing 1.2.1? Sometimes my forms work as they should, sometimes it takes several clicks on the submit button for things to work properly.

I rolled back to the previous version I was using and everything works as it should.

Wish I could help determine what is going on..

Conform version

v1.2.1

Steps to Reproduce the Bug or Issue

  1. useForm
	const [form, fields] = useForm({
		id: 'create-task',
		constraint: getZodConstraint(TicketTaskSchema),
		onValidate({ formData }) {
			return parseWithZod(formData, {
				schema: TicketTaskSchema,
			})
		},
		shouldRevalidate: 'onBlur',
	})
  1. Create a form with the values
  2. Try to submit with button
  3. No errors
  4. Click Submit button again, sometimes it submits, sometimes it doesnt
  5. I dunno.

Rolling back to the previous version for now.

What browsers are you seeing the problem on?

Chrome

Screenshots or Videos

No response

Additional context

No response

@braginteractive
Copy link
Author

Bumped to 1.2.2 and looks to have fixed a lot of the issues I was having.

@edmundhung
Copy link
Owner

Yes. I hope v1.2.2 resolves the issue you had. I am sorry for the trouble. Just let me know if you are still running into any issues :)

@braginteractive
Copy link
Author

Mostly looking to get the key spread error fixed. Thanks

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

No branches or pull requests

2 participants