Skip to content
Snippets Groups Projects
Commit 4ce9ba9d authored by Michael Oehlhof's avatar Michael Oehlhof Committed by Georg Ringer
Browse files

[BUGFIX] LiveSearch: Don't trigger select on valid input

Disable automatically selecting a valid search result. Otherwise, if
there is only one suggestion provided and the suggestion perfectly
matches the search string, the result is auto selected and no longer
visible/clickable.

Resolves: #71584
Releases: master
Change-Id: I239bf1dac9ce5b4851af4f48f3771d47ae1d8384
Reviewed-on: https://review.typo3.org/45177


Reviewed-by: default avatarMorton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: default avatarMorton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
parent d8b0192b
Branches
Tags
No related merge requests found
......@@ -38,6 +38,7 @@ define(['jquery', 'jquery/autocomplete', 'TYPO3/CMS/Backend/jquery.clearable'],
forceFixPosition: false,
preserveInput: true,
showNoSuggestionNotice: true,
triggerSelectOnValidInput: false,
noSuggestionNotice: '<div class="dropdown-info">' + TYPO3.LLL.liveSearch.listEmptyText + '</div>'
+ '<div class="search-list-help-content"><strong>' + TYPO3.LLL.liveSearch.helpTitle + '</strong>'
+ '<p>' + TYPO3.LLL.liveSearch.helpDescription + '<br>' + TYPO3.LLL.liveSearch.helpDescriptionPages + '</p>'
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment