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

Allow custom attribute names #444

Open
BadMannersXYZ opened this issue Sep 28, 2024 · 0 comments · May be fixed by #445
Open

Allow custom attribute names #444

BadMannersXYZ opened this issue Sep 28, 2024 · 0 comments · May be fixed by #445

Comments

@BadMannersXYZ
Copy link

Trying to set an attribute name dynamically (eg. button (htmx_method)=(htmx_path)) returns the error:

element body must be wrapped in braces

  = help: see https://github.com/lambda-fairy/maud/pull/137 for details

For custom libraries like HTMX, having the ability to set attributes dynamically would be very useful for type safety.

BadMannersXYZ added a commit to BadMannersXYZ/maud that referenced this issue Sep 28, 2024
@BadMannersXYZ BadMannersXYZ linked a pull request Sep 28, 2024 that will close this issue
BadMannersXYZ added a commit to BadMannersXYZ/maud that referenced this issue Sep 28, 2024
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

Successfully merging a pull request may close this issue.

1 participant