Update chosen.ajaxaddition.jquery.js #3

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
4 participants

faridco commented Feb 6, 2013

prevents Uncaught TypeError: Cannot use 'in' operator to search for 'loadingImg' in undefined
when no options defined (defaults is ok)

@faridco faridco Update chosen.ajaxaddition.jquery.js
prevents Uncaught TypeError: Cannot use 'in' operator to search for 'loadingImg' in undefined
when no options defined (defaults is ok)
5c4b163

ksykulev closed this Feb 6, 2013

anuul commented Sep 30, 2014

i need to make ajax call only if when user stops typing. right now ajax is getting called after user types till some minlength chars

Collaborator

lowski commented Sep 30, 2014

@anuul You can provide minLength option.

Owner

ksykulev commented Sep 30, 2014

@anuul Also if a user stops typing for 700 milliseconds only then it will fire off a request.

https://github.com/ksykulev/chosen-ajax-addition/blob/master/chosen.ajaxaddition.jquery.js#L241

Owner

ksykulev commented Sep 30, 2014

Unfortunately I don't have an option to change that value as of right now.. probably a good idea to add one.
dbb09c0

anuul commented Oct 1, 2014

Hi ksykulev, thanks alot for support, i have increase 700ms to 5000 so now i am getting output what i required. Thanks for you help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment