Skip to content

Commit

Permalink
fixed reset choice by using placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
Rico Kaltofen committed Mar 5, 2018
1 parent 7e7771c commit 6518ef5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Filter/Type/ChoiceType.php
Expand Up @@ -73,7 +73,7 @@ public function getOptions(FilterConfigElementModel $element, FormBuilderInterfa
unset($options['attr']['placeholder']);

$options['required'] = false;
$options['empty_data'] = $options['placeholder'];
$options['empty_data'] = '';
}

$options['expanded'] = (bool) $element->expanded;
Expand Down

0 comments on commit 6518ef5

Please sign in to comment.