Skip to content

Commit a75dde9

Browse files
committed
IBX-10134: Remove depracated JS/twig code
1 parent 6936408 commit a75dde9

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/bundle/Resources/views/themes/admin/ui/form_fields.html.twig

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@
280280
{% endblock %}
281281

282282
{% block actions %}
283-
{{ extra_actions_after|default(null)}}
283+
{{ extra_actions_after|default(null) }}
284284
{% endblock %}
285285
{%- endembed -%}
286286
{%- endblock textarea_widget %}
@@ -403,9 +403,6 @@
403403
{%- set type = type|default('text') -%}
404404
{%- set is_text_input = type == 'text' or type == 'number' or force_text|default(false) -%}
405405
{%- if is_text_input -%}
406-
{# @deprecated extra_actions_after in attr will be removed in 5.0, used for BC in 4.6 #}
407-
{%- set extra_actions_after_from_attr = attr.extra_actions_after|default(null) -%}
408-
{%- set attr = attr|filter((value, key) => key != 'extra_actions_after') -%}
409406
{%- set attr = attr|merge({class: (attr.class|default('') ~ ' ibexa-input ibexa-input--text')|trim}) -%}
410407
{%- set empty_placeholder_for_hiding_clear_btn_with_css = ' ' -%}
411408
{%- 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 @@
419416

420417
{% block actions %}
421418
{{ parent() }}
422-
{{ extra_actions_after|default(extra_actions_after_from_attr)}}
419+
{{ extra_actions_after|default(null) }}
423420
{% endblock %}
424421
{%- endembed -%}
425422
{%- else -%}

0 commit comments

Comments
 (0)