From a579e933aa8773b37b7c869c9347ae33910f2c5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Grabowski?= Date: Fri, 6 Jun 2025 15:38:02 +0200 Subject: [PATCH] IBX-10134: Remove depracated JS/twig code --- .../Resources/views/themes/admin/ui/form_fields.html.twig | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/bundle/Resources/views/themes/admin/ui/form_fields.html.twig b/src/bundle/Resources/views/themes/admin/ui/form_fields.html.twig index 7e4059f76a..c04a9520a9 100644 --- a/src/bundle/Resources/views/themes/admin/ui/form_fields.html.twig +++ b/src/bundle/Resources/views/themes/admin/ui/form_fields.html.twig @@ -280,7 +280,7 @@ {% endblock %} {% block actions %} - {{ extra_actions_after|default(null)}} + {{ extra_actions_after|default(null) }} {% endblock %} {%- endembed -%} {%- endblock textarea_widget %} @@ -403,9 +403,6 @@ {%- set type = type|default('text') -%} {%- set is_text_input = type == 'text' or type == 'number' or force_text|default(false) -%} {%- if is_text_input -%} - {# @deprecated extra_actions_after in attr will be removed in 5.0, used for BC in 4.6 #} - {%- set extra_actions_after_from_attr = attr.extra_actions_after|default(null) -%} - {%- set attr = attr|filter((value, key) => key != 'extra_actions_after') -%} {%- set attr = attr|merge({class: (attr.class|default('') ~ ' ibexa-input ibexa-input--text')|trim}) -%} {%- set empty_placeholder_for_hiding_clear_btn_with_css = ' ' -%} {%- set attr = attr|merge({placeholder: (attr.placeholder is defined and attr.placeholder is not null) ? attr.placeholder : empty_placeholder_for_hiding_clear_btn_with_css}) -%} @@ -419,7 +416,7 @@ {% block actions %} {{ parent() }} - {{ extra_actions_after|default(extra_actions_after_from_attr)}} + {{ extra_actions_after|default(null) }} {% endblock %} {%- endembed -%} {%- else -%}