-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
hx-on unbound namespace in Jetbrains IDEs #3038
Comments
Looks like this needs to be added to the web-types file? |
Probably, if you feel like investigating, a fix PR would be welcome! 😄 Other than that, looking at the highlighted error, there could be an issue with the attribute's syntax (as only
<!-- These two are equivalent -->
<button hx-get="/info" hx-on-htmx-before-request="alert('Making a request!')">
Get Info!
</button>
<button hx-get="/info" hx-on--before-request="alert('Making a request!')">
Get Info!
</button> |
I might give this a try at the weekend.
This is working for now, thanks. |
I'm having issues with the hx-on attribute when working on html in Pycharm.
This only seems to be an issue with hx-on, every other attribute is fine.
Is there any easy fix to silence the IDE?
The text was updated successfully, but these errors were encountered: