conform
conform copied to clipboard
remix-utils/honeypot is not working anymore
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
- Install the epic stack starter project: https://github.com/epicweb-dev/epic-stack
- Update conform to v1.2.1.
- Run e2e tests → broken.
What browsers are you seeing the problem on?
Chrome, Others
Screenshots or Videos
- 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 />
.