Skip to content

Commit

Permalink
IBX-5702: Fixed ezselection rendering (#784)
Browse files Browse the repository at this point in the history
  • Loading branch information
ciastektk committed May 10, 2023
1 parent 3f5f181 commit a528a90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{% use '@ibexadesign/ui/form_fields/dropdown_widget.html.twig' %}

{%- block ezplatform_fieldtype_ezselection_widget -%}
{% set attr = attr|merge({'class': 'ibexa-data-source__input ibexa-data-source__input--selection', disabled: attr.readonly|default(false) }) %}
{% set attr = attr|merge({'class': 'ibexa-data-source__input ibexa-data-source__input--selection' }) %}
{% set dropdown_disabled = attr.readonly|default(false) %}
{{ block('choice_widget') }}
{%- endblock -%}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
translation_domain: choice_translation_domain|default(false),
custom_form: false,
class: attr.dropdown_class|default(''),
is_disabled: attr.disabled|default(false) or disabled|default(false),
is_disabled: attr.disabled|default(false) or disabled|default(false) or dropdown_disabled|default(false),
is_hidden: attr.dropdown_hidden|default(false),
is_small: attr.is_small|default(false),
is_ghost: attr.is_ghost|default(false),
Expand Down

0 comments on commit a528a90

Please sign in to comment.