Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
An ajax request is fired for each character typed into a select2 autocomplete field.
Proposed resolution
I think it would be a sensible idea to increase the delay before firing a request to 250ms (currently its set to 10ms) as suggested in the select2 api documentation.
Comments
Comment #2
volkerk CreditAttribution: volkerk at Thunder commentedhttps://github.com/thunder/select2/pull/69
Comment #3
chr.fritschI think that makes sense.
Comment #5
chr.fritschDone