Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Download Tracker 1.0.7 — Minor update available for module download_tracker (1.0.7). Release: Directory2Block Slideshow 1.0.8 — Minor update available for module directory2block_slideshow (1.0.8). Release: Mautic Audiences 1.1.5 — Minor update available for module mautic_audiences (1.1.5). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: RightUp 1.0.2 — Minor update available for module rightup (1.0.2). Release: CronWatch 0.12.1 — Minor update available for module cronwatch (0.12.1). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

This module provides a custom select2 element (not associated with the select2 module) that allows the developer to page the result set.
Especially useful for large result sets, API calls are also a possible use case.
When the user starts typing in the select2 search box, this also performs separate calls so complex querying can be performed here as well so you don't have to rely on select2 finding the desired result for a certain keyword.

Attention! This module ONLY provides the form element, it does NOT provide a configurable field type due to the requirement to provide a result set endpoint/callback. If you're willing to add this, please feel free to add a merge request containing this functionality.

Dependencies and installation
The select2 library is required for this module to function.

The preferred way to install this is through composer, see the select2 module for instructions.

Examples and usage
An example module is embedded showing the capabilities and how to set-up the form element.

Todo's

  • Write decent developer documentation
  • Possibly a field type, or at least field widget for select elements?

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Apr 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core Release date
1.0.0-alpha2 Pre-release Apr 15, 2023
1.0.0-alpha1 Pre-release Apr 13, 2023
1.0.x-dev Dev Apr 13, 2023