-
-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dynamically hide options #98
Comments
This sounds very much like a bug. We'll have to investigate what's going on. |
As a workaround, I'd suggest having a computed property that merges the two lists |
according to idea from @cowboyd in adopted-ember-addons/emberx-select#98
Hey @Nef10! I was able to sit down tonight and try to replicate this bug. It looks like this works as it should on master. Could you give master a shot and see if that fixes the issues in your app? Here's the code that I used to replicate: |
I went ahead and decided to investigate further since it's open source and opened a PR implementing what I think you were trying to do :) Going to close this issue. |
I want to hide some options based on the property
isStreak
. So I wrote the following code:This code does show all options regardless of
isStreak
. If I put the wholex-select
inside anunless
everything works fine, but this is not what I am looking for.Is this a bug, or is this just not supposed to work?
Version of x-select: 2.0.2
Ember Version / Ember CLI Version: 2.3.0
The text was updated successfully, but these errors were encountered: