Enhancement: Add html_params
class attribute to BaseField
#512
Labels
enhancement
New feature or request
html_params
class attribute to BaseField
#512
Is your feature request related to a problem? Please describe.
As HTMX rises, we see many new libraries based on HTML attributes like AlpineJS and Hyperscript.
I am using HTMX, AlpineJS, and Hyperscript in my projects now and these libraries mostly rely on HTML attributes, so to use them properly I have to override each
Field
and addhtml_params
class attribute.Describe the solution you'd like
I don't know if I'm asking too much but what about adding that
html_params
attribute to theBaseField
class and updatinginput_params
methods?Additional context
I believe in the end, this feature will be in demand.
The text was updated successfully, but these errors were encountered: