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

Report information
The Basics
Id:
67536
Status:
new
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
rod.taylor [...] gmail.com
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
0.09002
Fixed in:
(no value)



This snippet of code causes the following error: $form->get_field('name')->add_container_attributes( class => 'hidden' ); Caught exception in SK::Catalyst::CityCondo::Controller::Structure::Community::Article->article_structure_summary_edit "Can't use string ("class") as a HASH ref while "strict refs" in use at /usr/local/share/perl/5.10.1/HTML/FormFu/Attribute.pm line 173." This snippet of code works as expected. $form->get_field('name')->add_container_attributes( {class => 'hidden'} ); The documentation for add_attributes in HTML::FormFu implies that both syntaxes are equivalent.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.