Opened 8 years ago

Closed 8 years ago

Last modified 6 years ago

#6113 closed enhancement (worksforme)

Custom query parameter

Reported by: AdeelEjaz Owned by:
Priority: minor Milestone:
Component: ui.autocomplete Version: 1.8.5
Keywords: autocomplete Cc:
Blocked by: Blocking:

Description

Hi,

The current implementation attaches a parameter called "term" which is hard-coded. This is not ideal when autocomplete is implemented in a system that already expects something like "q". Changing the backend to "term" might break other implementations that give out "q".

The best way to handle this is to allow an option to be passed called "param" or "queryParam", etc

Change History (2)

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

Resolution: worksforme
Status: newclosed

You can already implement any system you want by passing a function as the source option. Check out the remote with cache demo to see an example.

comment:2 Changed 6 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.