Skip to content
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

Double selection after upgrade to Ember 3.3 #81

Open
bmfay opened this issue Aug 17, 2018 · 1 comment
Open

Double selection after upgrade to Ember 3.3 #81

bmfay opened this issue Aug 17, 2018 · 1 comment

Comments

@bmfay
Copy link

bmfay commented Aug 17, 2018

I am experiencing some funny behavior after upgrading to Ember 3.3. One of my power-select-with-create components is now not displaying the selected option (but does show it once you select another one).

          {{#power-select-with-create
            search=(action 'searchPeople')
            selected=appreciation.appreciatee
            onchange=(action (mut appreciation.appreciatee))
            oncreate=(action "createNonUserAppreciatee")
            as |user|
          }}
            {{user.name}}
          {{/power-select-with-create}}

The onchange action is working (the relationship is being set) but nothing displays as selected until you select another one. I see no errors in the console and could not find anything about the Ember upgrade (from 2.17) that would cause this. Let me know if you have any ideas. Thank you!

@bmfay
Copy link
Author

bmfay commented Aug 17, 2018

Hm, it seems actually that this issue is the same #80 but it's unclear to me whether it's an actual issue with Ember Data or with this add-on's compatibility with it... I will follow that Ember Data issue and see what comes up.. and for now I suppose I will have to downgrade Ember Data to get this to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant