Opened 9 years ago

Closed 9 years ago

#7358 closed feature (wontfix)

Adding step / incremental autocomplete option

Reported by: jocapc Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.autocomplete Version: 1.8.12
Keywords: Cc:
Blocked by: Blocking:

Description

In some cases we do not want to send a new request after minLength limit is passed, on each character that user enters. As example, on the http://jqueryui.com/demos/autocomplete/#remote, minLength is set to 2 and when I type more than 2 characters on each new character a new Ajax request is sent. It might be good to enable incremental autocomplete so when we set minLength to 2, new request might be sent only when the user add/delete 2 new characters in the text-box (e.g type 2, then 4, then 6, then delete 2 characters). Could you add something link a incremental:[true|false] (default false) so we can control whether the Ajax request should be sent after each character or incremental. This incremental parameter might be used in combination with minLength only.

Change History (1)

comment:1 Changed 9 years ago by Scott González

Resolution: wontfix
Status: newclosed

Canceling the search event will prevent the ajax request. You can use that to build whatever logic you want.

Note: See TracTickets for help on using tickets.