Replies: 1 comment 1 reply
-
Hello ! Sorry for not taking part in the previous long discussion. I understand the interest for this, but I think users who want to build their own html should write custom components. Allowing to custom html attributes in normal components would probably confuse beginners, and be dangerous if user-generated data ends up in these attributes. SQLPage aims to be foolproof and beginner friendly, while letting more advanced users who know frontend development do their things in custom components. If a compelling use case requires client-side interaction, I think we should build it directly into sqlpage, and document it properly. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I thought it would be useful to have the possibility to add attributes on the html elements defined by components. That is, to the components where we can already add IDs or classes, to add other attributes. That way we would be able to easily use htmx, hyperscript or other libraries. For example, see #692, the 'htmxcontent' in dropdown component defined by me.
Beta Was this translation helpful? Give feedback.
All reactions