Bug Tracker

Opened 17 years ago

Closed 15 years ago

#931 closed feature (wontfix)

Ability to change Data Source in Autocomplete

Reported by: anonymous Owned by: stefan
Priority: minor Milestone:
Component: interface Version:
Keywords: Cc:
Blocked by: Blocking:

Description (last modified by scott.gonzal)

It would be incredibly wonderful if we could add an option (or customize the existing one) to the Interface Autocomplete to accept a different datatype and datasource for the source option.

For instance, I may already have an object in Javascript, or I'd prefer to control the ajax request on my own, so it would be great if the source param could check to see if it's a string or a function, and if it's a function, use the return value of the function as the source.

Sometimes we're not able to affect the serverside return value, and it would be nice if the data retrieval aspect was abstracted a bit so we could feed it some custom data.

Thanks,

Change History (2)

comment:1 Changed 17 years ago by Lincoln Coop

I would find this really useful too - I need to send extra parameters to the server depending upon the values of other fields on the page.

I am currently trying out this autocompleter:

http://www.pengoworks.com/workshop/jquery/autocomplete.htm

which does have this functionality.

comment:2 Changed 15 years ago by scott.gonzal

Description: modified (diff)
need: Review
Resolution: wontfix
Status: newclosed

Interface is no longer supported; consider switching to jQuery UI.

Note: See TracTickets for help on using tickets.