Skip to content

Instantly share code, notes, and snippets.

@ilmari
Created March 23, 2012 13:05
Show Gist options
  • Save ilmari/2170469 to your computer and use it in GitHub Desktop.
Save ilmari/2170469 to your computer and use it in GitHub Desktop.
diff --git a/lib/HTML/FormHandler/Widget/Field/Select.pm b/lib/HTML/FormHandler/Widget/Field/Select.pm
index fe990df..c63cf43 100644
--- a/lib/HTML/FormHandler/Widget/Field/Select.pm
+++ b/lib/HTML/FormHandler/Widget/Field/Select.pm
@@ -45,7 +45,6 @@ sub render {
$output .= ' selected="selected"';
}
}
- $output .= $ele_attributes;
my $label = $option->{label};
$label = $self->_localize($label) if $self->localize_labels;
$output .= '>' . ( $self->html_filter($label) || '' ) . '</option>';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment