conform icon indicating copy to clipboard operation
conform copied to clipboard

remix-utils/honeypot is not working anymore

Open davidesigner opened this issue 5 months ago • 5 comments

Describe the bug and the expected behavior

When you use the Honeypot from remix-utils (as explain in the documentation: with HoneypotProvider and HoneypotInputs), sometimes, the input from__confirm value is missing in the formData (while I see a value in the Provider if I add a console.log). Sometimes, it's working well... In e2e tests, the problem is always here on my side.

Maybe it's because there's no more key added to the input in the last version?

N.B. no problem in v1.1.5.

Conform version

v1.2.1

Steps to Reproduce the Bug or Issue

  1. Install the epic stack starter project: https://github.com/epicweb-dev/epic-stack
  2. Update conform to v1.2.1.
  3. Run e2e tests → broken.

What browsers are you seeing the problem on?

Chrome, Others

Screenshots or Videos

Screenshot 2024-09-15 at 19 38 09
  • l.204 is clicking on the submit button;
  • l.205 check if the next step is displayed (KO). → because of HoneypotInputs missing value.

Additional context

Do you have a solution to this problem? Ideally, I don't want to have to set defaultValue for every form that contains <HoneypotInputs />.

davidesigner avatar Sep 15 '24 17:09 davidesigner