-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Search box not shown to search when data is an empty array #1805
Comments
Most likely caused by 4c561ac @cvNOliveira If you made a plunkr as requested in the github issue template I could have tested in 2 minutes and reverted the commit and resolved this issue. But you didn't 😞 Can you test reverting the change in the above commit and see if it resolves your problem? If it does, I'll revert in master. Thanks! 👍 |
You are right, my bad! I should have made the plunkr. Old code: New Code
I hope it helps. |
Did you try reverting 4c561ac? I thought that would have been the cause... maybe not then. |
I did not revert that commit because, as far as I can see, it has not to do with multiple choices and that commit is related with select-multiple template. In this case, it's an opacity property that remains 0 because, for select2, at some point the animation procedure does not change the opacity to 1. |
Same problème 2 year after... |
I have a ui-select that uses refresh to fetch data from server whenever a user inserts a char in input box (search box).
Since UI-Select v0.19.3 the input box is no longer available when data is an empty array, so the user cannot search to fetch data.
Needless to say that I only want to present data when the user search for it.
This only happens with theme "select2".
With boostrap theme it is ok.
Angular version: 1.5.5
UI-Select: 0.19.3
The text was updated successfully, but these errors were encountered: