Skip to content

Commit

Permalink
IBX-1747: Fixed double selected item if value is empty in dropdown (#243
Browse files Browse the repository at this point in the history
)
  • Loading branch information
dew326 authored Jan 27, 2022
1 parent 0d95ff9 commit 593edf0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
{% endif %}
{% else %}
{% for choice in choices_flat %}
{% if custom_form ? choice.value == value : choice is selectedchoice(value) %}
{% if custom_form ? value is not empty and choice.value == value : choice is selectedchoice(value) %}
{% include '@ibexadesign/ui/component/dropdown/dropdown_selected_item.html.twig' with {
value: choice.value,
label: _self.get_translated_label(choice.label, translation_domain),
Expand Down

0 comments on commit 593edf0

Please sign in to comment.