Skip Menu |
 

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

Report information
The Basics
Id: 67536
Status: new
Priority: 0/
Queue: HTML-FormFu

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

Bug Information
Severity: (no value)
Broken in: 0.09002
Fixed in: (no value)



Download (untitled) / with headers
text/plain 612b
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 is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

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