Skip to content

IBX-10134: Remove depracated JS/twig code #1586

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 13, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@
{% endblock %}

{% block actions %}
{{ extra_actions_after|default(null)}}
{{ extra_actions_after|default(null) }}
{% endblock %}
{%- endembed -%}
{%- endblock textarea_widget %}
Expand Down Expand Up @@ -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}) -%}
Expand All @@ -419,7 +416,7 @@

{% block actions %}
{{ parent() }}
{{ extra_actions_after|default(extra_actions_after_from_attr)}}
{{ extra_actions_after|default(null) }}
{% endblock %}
{%- endembed -%}
{%- else -%}
Expand Down
Loading