Subject: | Select widget ignores options with value of zero when setting SELECTED flag |
HTML::FormHandler::Widget::Field::Select has a bug where it performs a
block based on whether the value is true (ie. non-zero), however really
it should be checking whether the value is *defined* or not. I think..
This is line 35 of Select.pm
if ( my $ffif = $result->fif ) {
It should really be:
if ( defined (my $ffif = $result->fif) ) {
This fixes a bug I am seeing where select boxes with option=0 are not
always re-displayed as such when viewing a form.