-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Unexpected TypeError since upgrading to 2 but I do not know why it happens #2963
Comments
Hey, could you try with the unminified htmx script to be able to identify which line of code triggers this error ? |
Just tried and found this error message (did not have time to confirm the cause, however):
|
We hit a similar error and for us it was forms with no explicit "action" attribute. It doesn't have to have a value, so you can do action='', but it needs to be on the form tag. Or you can set boost to false. |
https://github.com/bigskysoftware/htmx/pull/2802/files look like the case where action is not defined may now not be handled well??? i think it should read if (verb === 'get' && path && path.includes('?')) { So it will ignore the if when path is not defined. |
I have started encountering an unexpected error that does not seem to affect much in my code since upgrading to HTMX 2.0 on some pages:
Does anyone know where it is coming from?
Thanks!
The text was updated successfully, but these errors were encountered: