wisski_autocomplete
The wisski_autocomplete module provides autocomplete functionality for the WissKI system.
It defines a custom field widget, WissKIAutocompleteWidget, which is used to enhance text input fields with autocomplete capabilities.
The autocomplete functionality is implemented in the WisskiAutocompleteController::autocomplete method, which is mapped to the /wisski/autocomplete/{fieldId} route as defined in the wisski_autocomplete.routing.yml file.
The module also provides a configuration for the autocomplete widget, including settings like size, placeholder, autocompleteLimit, and useTitlePattern.
The wisski_autocomplete module is integrated with the rest of the WissKI system. For example, in the wisski_adapter_sparql11_pb.module file, there is code that checks if the wisski_autocomplete module is enabled and then adds autocomplete functionality to certain fields.
Installation¶
wisski_autocomplete depends on wisski_core, wisski_salz and wisski_pathbuilder.
The SPARQL 1.1 adapter depends on it.
drush en wisski_autocomplete
Configuration¶
The module has no settings page of its own.
The widget WissKIAutocompleteWidget is chosen on the path's field configuration.
Its settings are size, placeholder, autocompleteLimit and useTitlePattern.