Breaking: #98455 - Removed devbridge-autocomplete
See forge#98455
Description
The jQuery library
devbridge-
used to provide an auto-suggest
feature has been removed from TYPO3 along with its CSS.
Impact
Importing the module
jquery/
and calling .autocomplete
on
a jQuery object will lead to JavaScript errors.
Affected installations
All extensions relying on
devbridge-
are affected.
Migration
If absolutely mandatory, install and import
devbridge-
in your
extension or site package.
Otherwise, remove the import of
jquery/
from your JavaScript
code and implement an auto-suggest feature on your own by combining the modules
@typo3/
and
@typo3/
.
Listen on the
input
event on an input field using
Debounce
,
send an AJAX request to the endpoint, and render the returned result list.
Finally, bind a
click
event handler on each result item that executes the
desired action and hides the result list again.