Skip to content

[8.1-stable] Fix element select search filtering#3777

Merged
tvdeyen merged 1 commit into8.1-stablefrom
backport/8.1-stable/pr-3771
Mar 23, 2026
Merged

[8.1-stable] Fix element select search filtering#3777
tvdeyen merged 1 commit into8.1-stablefrom
backport/8.1-stable/pr-3771

Conversation

@alchemycms-bot
Copy link

Backport

This will backport the following commits from main to 8.1-stable:

Questions ?

Please refer to the Backport tool documentation

Select2's default matcher filters against the text property of data
items. Commit f66a7b1 renamed text to name when adding element hints,
which broke the search filtering in the element select dropdown.

Renaming name back to text restores Select2's built-in matching so
typing in the search field correctly filters and highlights elements.

(cherry picked from commit f0fffb4)
@alchemycms-bot alchemycms-bot bot requested a review from a team as a code owner March 23, 2026 08:59
@tvdeyen tvdeyen enabled auto-merge March 23, 2026 09:01
@codecov
Copy link

codecov bot commented Mar 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.45%. Comparing base (fa522d3) to head (4e533c9).
⚠️ Report is 5 commits behind head on 8.1-stable.

Additional details and impacted files
@@             Coverage Diff             @@
##           8.1-stable    #3777   +/-   ##
===========================================
  Coverage       97.45%   97.45%           
===========================================
  Files             314      314           
  Lines            8327     8327           
===========================================
  Hits             8115     8115           
  Misses            212      212           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@tvdeyen tvdeyen merged commit 1bf418d into 8.1-stable Mar 23, 2026
19 of 20 checks passed
@tvdeyen tvdeyen deleted the backport/8.1-stable/pr-3771 branch March 23, 2026 09:07
@alchemycms-bot alchemycms-bot bot mentioned this pull request Mar 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant