Skip to main content

Search and Top Navigation

#7358 closed feature (wontfix)

Opened May 11, 2011 09:07PM UTC

Closed May 11, 2011 09:14PM UTC

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.

Attachments (0)
Change History (1)

Changed May 11, 2011 09:14PM UTC by scottgonzalez comment:1

resolution: → wontfix
status: newclosed

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