Skip Menu |
 

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

Report information
The Basics
Id: 42209
Status: rejected
Priority: 0/
Queue: HTML-Tree

People
Owner: Nobody in particular
Requestors: andre [...] house-of-love.com
Cc:
AdminCc:

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



Subject: The word "value" appears if you supply value => undef to an input of type "text"
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Type: text/plain
Charset: utf8
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 172
Download (untitled) / with headers
text/plain 172b
If you do something like: $div->push_element(HTML::Element->new('input', type => 'text', value => $blah); where $blah is undef, the word "value" appears in the input.
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-24882-1284884526-1015.42209-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 245
Download (untitled) / with headers
text/plain 245b
Hi, sowly working my way through the outstanding bugs. This is deliberately done in the code, but there is no comment on why the value of an attribute defaults to the attribute name. I'll see if I can chase down why this is done. Cheers, Jeff.


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.