You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is currently not possible to add HTML attributes to checkboxes using {input foo, 'class' => 'bar'} Latte macro. The reason is getControl method of Checkbox returns a wrapper HTML object instead of the input itself.
at least fixes the ability to add attributes to the wrapper element (maybe this is disabled on purpose to avoid confusion). But anyway adding attributes to checkbox input elements is not currently possible.
The text was updated successfully, but these errors were encountered:
It is currently not possible to add HTML attributes to checkboxes using
{input foo, 'class' => 'bar'}
Latte macro. The reason isgetControl
method ofCheckbox
returns a wrapper HTML object instead of the input itself.Rewriting getControl method to
at least fixes the ability to add attributes to the wrapper element (maybe this is disabled on purpose to avoid confusion). But anyway adding attributes to checkbox input elements is not currently possible.
The text was updated successfully, but these errors were encountered: