Select2 Infinite Scroll
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
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 |