-
-
Notifications
You must be signed in to change notification settings - Fork 337
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Dropdown] Show "no results" when filterRemoteData is false and response is empty #300
[Dropdown] Show "no results" when filterRemoteData is false and response is empty #300
Conversation
…thing and filterRemoteData is false
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
When a remoteApi returns no results according to the search query, the dropdown was still showing the previous filtered list when
filterRemoteData
was false (which is default)Also fixed the behavior in combination that "no results" prevented possible allowed useradditions. So if
allowAdditions
is true, then "No results" will not be shown (this is how it already behaves when remote Api data was not used)Testcase
Unfixed
https://jsfiddle.net/c092thvs/
Fixed
https://jsfiddle.net/c092thvs/1/
Closes
Semantic-Org/Semantic-UI#6603