Bug Tracker

Modify

Ticket #4783 (closed enhancement: invalid)

Opened 5 years ago

Last modified 5 years ago

autocomplete plugin extraparams function din't take key

Reported by: andruhap Owned by:
Priority: major Milestone: 1.4
Component: plugin Version: 1.3.2
Keywords: autocomplete Cc:
Blocking: Blocked by:

Description

extraParams[key] = typeof param == "function" ? param() : param;

should be

extraParams[key] = typeof param == "function" ? param(key) : param;

Change History

comment:1 Changed 5 years ago by andruhap

also if a function return false extraParams[key] can be skipped

comment:2 follow-up: ↓ 3 Changed 5 years ago by andruhap

also it must be able to disable cache when functions used for extraparams

comment:3 in reply to: ↑ 2 Changed 5 years ago by andruhap

Replying to andruhap:

also it must be able to disable cache when functions used for extraparams

sorry, it can be done using cacheLength:0

comment:4 Changed 5 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

This is not a jQuery core bug. Please report plugin bugs to the plugin's author, or ask on the jQuery forums. jQuery UI bugs should be reported on the UI bug tracker,  http://dev.jqueryui.com .

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.