Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the HTML-FormHandler CPAN distribution.

Report information
The Basics
Id: 58145
Status: resolved
Worked: 20 min
Priority: 0/
Queue: HTML-FormHandler

Owner: Nobody in particular
Requestors: pete [...]

Bug Information
Severity: Important
Broken in: 0.31003
Fixed in: (no value)

Subject: css_class not applied via HTML::FormHandler::Widget::Field::Text
Download (untitled) / with headers
text/plain 480b
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
Download (untitled) / with headers
text/plain 238b
The 'css_class' attribute is used for a css class on the html elements that wrap the input elements. I've added a new attribute 'input_class' which applies a class to the input elements. Currently in the repository; will be released soon.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to