Subject: | Field::Select: as_label does not work for multi-select fields |
While as_label() works for normal select fields, it does not cope with
multiple-select fields:
for ( $field->options ) {
return $_->{label} if $_->{value} eq $value;
}
In the multiple-select case, $value is an arrayref, so the string
comparison always fails.