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

honeypot.getInputProps() and checkHoneypot(formData) are async since v8 #439

Open
hilja opened this issue Jan 9, 2025 · 0 comments
Open

Comments

@hilja
Copy link

hilja commented Jan 9, 2025

Describe the bug

The utils honeypot.getInputProps() and checkHoneypot(formData) needs to be awaited. I think this changed in v8. This might be an undocumented feature. I'm okay awaiting but docs and the v8 release notes should be updated. Thanks for your hard work.

Your Example Website or App

.

Steps to Reproduce the Bug or Issue

  1. Run honeypot.getInputProps() without await
  2. The name__confirm field will be empty

Expected behavior

honeypot.getInputProps() should work

Screenshots or Videos

No response

Platform

  • OS: macOS
  • Browser: Brave (Chrome)
  • Version: 1.73.91 Chromium: 131.0.6778.85

Additional context

No response

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

1 participant