#111269Use searchable selects in backend modules
Description
- introduces
<typo3-backend-searchable-select>and uses it for FormEngineselectSingleandcountryfields. Several other backend selects regularly list many entries (users, groups, tables, languages, hosts, types) and benefit from the same search.
This task wraps those single selects. Multiple selects and listboxes (size > 1) stay native. On touch devices without hover the native select UI is kept. With seven or more options the search field shows on opening; with fewer options typing reveals it.
The element is additionally loaded in the backend main frame, as modals render there and not in the module iframe.
How to test
For every location below: open the select, type a part of an option, pick an entry with Enter or a click and check that the module reacts as before (filter applied, form value saved, navigation done).
- Site configuration: Site Management > Sites > edit a site > tab “Languages”. The selects “Choose a preset…” and “Use Language from existing site…” next to “Create new language”. Picking an entry still adds the language.
- Access: Users > Access, select a page, edit its permissions. Selects “Owner” and “Group”. Also in the list: click the owner or group name of a page; the inline selector loaded via AJAX is searchable, saving still works.
- Form editor: Forms > open a form > add/select a “Country select” element > inspector field “Default value” (~250 countries). Inspector “Validators > Add validator” of any field and “Finishers > Add finisher” on form level. The multi selects “Prioritized/Only/Exclude countries” stay native.
- Advanced query: System > Database > “Advanced query”. Selects “Table”, the field selects of each condition row and the stored queries in “Load/Save query”.
- Inline relation with foreign_selector: Styleguide > Manage page trees > “Create styleguide page tree with data”. Page “styleguide TCA demo > inline usecombination”, open the “Form engine – inline use combination” record. Field
inline_1: the select next to “Create new”. Fieldinline_2usesautoSizeMaxand stays a native listbox. - Log: System > Log, filter “Users” (grouped by groups and users) and “Workspace” (only with workspaces installed).
- Backend users: Users > Backend users, filter “Group”.
- Redirects, QR codes, Short URLs: Link Management > Redirects, filters “Source host” and “Created by”; QR codes and Short URLs, filter “Source host”. The filters only show when records exist.
- Info module: Status > Pagetree Overview and Localization Overview, select a page. Selects “Language”, “Depth” and “Pages”.
- Webhooks: Integrations > Webhooks, filter “Type” (needs at least one webhook).
- Reactions: Integrations > Reactions, filter “Impersonate user” (needs at least one reaction).
- Workspaces: switch to a workspace, Content > Workspaces. Filters “Language” (with flag icon) and “Stage”.
- Import/Export: page tree context menu > More options > Import: select “File”. Export: tab “File & Preset”, select “Preset” (needs a saved export preset).
- Bookmarks: toolbar > Bookmarks > Manage bookmarks, edit a bookmark, select “Group”.
- Record download: needs download presets, e.g. Page TSconfig:
mod.web_list.downloadPresets {
tt_content {
10 {
label = Quick overview
columns = uid, pid, CType, header, colPos
}
20 {
label = UID and headers only
columns = uid, header
}
}
}
Content > Records, page with content elements, table “Page Content” > “Download”. The select “Preset” in the modal is searchable and the chosen preset is used for the download.
Not included
- “Create multiple pages” (page type select): new rows are cloned via
innerHTML, which would duplicate the rendered trigger. - FormEngine value picker: it sits next to a text input and would need a special case.
- Fixed short lists (depth, status, log level and similar) in other modules.
Reviews 1
Related issues 1
History 13
-
Matthias Vogel changed Related to #111144 <span data-processor="relativetime" data-value="2026-10-28T14:24:30+00:00" > 10/28/26, 14:24 </span>
-
Gerrit Code Review pushed patch set 1 for main to change 97196 status
NewUnder Review <span data-processor="relativetime" data-value="2026-10-28T14:25:21+00:00" > 10/28/26, 14:25 </span> -
Gerrit Code Review pushed patch set 2 for main to change 97196 <span data-processor="relativetime" data-value="2026-10-29T09:22:14+00:00" > 10/29/26, 09:22 </span>