Subject: | css_class not applied via HTML::FormHandler::Widget::Field::Text |
Hi,
I looked in HTML::FormHandler::Widget::Field::Text and
HTML::FormHandler::Widget::Field::Role::HTMLAttributes and I cannot see
how css_class attribute is applied in the rendering of the field via the
widget.
I added this line:
$output .= ' class="' . $self->css_class . '"' if $self->css_class;
to HTML::FormHandler::Widget::Field::Role::HTMLAttributes in my install
to patch it for now.
I have not checked other widgets but I presume they use the Role too.
Cheers,
Pete