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"
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.
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.