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

volkerk created an issue. See original summary.

volkerk’s picture

Status: Active » Needs review
chr.fritsch’s picture

Status: Needs review » Reviewed & tested by the community

I think that makes sense.

  • chr.fritsch committed 1268cd3 on 8.x-1.x authored by volkerk
    Issue #3076263 by volkerk: Rate-limit autocomplete ajax requests
    
    
chr.fritsch’s picture

Status: Reviewed & tested by the community » Fixed

Done

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.