chosen icon indicating copy to clipboard operation
chosen copied to clipboard

Delay before search - performance issue

Open dornstein opened this issue 6 years ago • 3 comments

I have lists with 10K+items and people are complaining that with each character they type there is a delay of a couple of seconds before the search completes. So typing ori (when searching for something like origin) take a long time because first chosen searches for o and then or and then ori, etc.

My first reaction is that chosen need a configurable option to be able to indicate how long of a delay after the last keystroke the search should start. Has there been discussion about this type of idea in the past? Are there any suggestions about this problem or simpler alternatives?

dornstein avatar Aug 22 '18 14:08 dornstein

I was just informed of Ajax-Chosen gem, however, it is a few years old, and it's not built by harvest...

KaraAJC avatar Sep 20 '18 22:09 KaraAJC

A delay, or requiring a minimum amount of characters to be typed before filtering occurs would be useful options, I agree

Sent with GitHawk

koenpunt avatar Sep 23 '18 09:09 koenpunt

+1

dhwang avatar Apr 03 '19 04:04 dhwang