-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Minimum Input support #274
Comments
I would also love this! In the meantime is there any workaround? |
@kevinswartz I've made workaround like this: http://pastebin.com/dcfE07pg |
@masscrx Thanks! I actually ended up implementing nearly the same thing the other day. |
I don't really understand this line: I have an init function that provides a full list of users for my select for example:
How could I implement a limit like you have into this for example? EDIT: Even the result.plain() could you explain what that does? |
+1 |
1 similar comment
+1 |
Was this missed in the milestone. We're on 11.1 now but the milestone was set to 10 :/ |
Using angular's Fixed the slowness for me, at least 😀 |
@reichert621 So I tested it and it turns out that limitTo does what I expected. It returns only the n value specified and nothing else, and there's no pagination until Angular 1.4 with the begin parameter. So I'm guessing you can use some function to update the begin value dynamically. https://code.angularjs.org/1.4.0-beta.6/docs/api/ng/filter/limitTo |
+1 minimum input support |
line 313 in select.js: |
+1 |
looking forward to 0.13.3 for this commit, hopefully we can make this length as an option. |
this commit is a bit too much, on dist ? and also it only changes two lines, but the file look like it changed a lot of places. |
ok, the above commit does not work at all, and i find a easy way using just css, here's the solution.
now you can just set the css to be
|
Sorry, I did not intend to reference this issue from my fork (lot of useless changes indeed, due to my text editor removing trailing spaces). Thank you @thefewminutes anyway for your idea ! This worked for me, but I'll try your css @windmaomao, thanks ! +1 optional minimum length support |
There does not seem to be support for a minimum input length prior to searching? (Same as select2's Minimum Input)
Particularly in large data sets it means searching is rather slow, and 1-2 character search terms are not particularly useful.
The text was updated successfully, but these errors were encountered: