question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Selected item not working

See original GitHub issue

Template: {{#power-select selected='Choose category' verticalPosition='below' options=categories onchange=(action "onchangeCat") as |category|}} <span>{{category.name}}</span> {{input value=category type="hidden" name="category"}} {{/power-select}}

I don’t see that ‘selected’ element.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:28 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
broersecommented, Sep 4, 2018

@Techn1x We switch all projects to ember-data-classic v3.4.0 and all components worked again. This is a temporary workaround for components that need to check for change 2 components deep. So it works for all components that need to do this not just ember-power-select.

1reaction
runspiredcommented, Sep 4, 2018

@broerse @techn1x ember power select is at fault here, it needs to be changed to something less brittle. It’s possible that the behavior of ember’s component lifecycle hooks might also be improved; however, it makes no sense to do a buggy thing in ember-data to support a bug in power select.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Combobox SelectedItem not working propely - Stack Overflow
The problem is that there is nothing selected in your ComboBox . You create your form and then, without previous user interaction, ...
Read more >
Selected item not working in Picker - MSDN - Microsoft
In our edit page, we want to populate the selected default value of the Course and Roud Category that come from the web...
Read more >
[Bug] CollectionView - Binding for SelectedItem not working ...
When you bind the property CollectionView.SelectedItem and set a value to it on the code behind, it does not select the item on...
Read more >
RadComboBox binding SelectedItem not work when ... - Telerik
The SelectedSkillItems property form the ViewModel must be bound to the Combobox.SelectedItems property, not to the SelectedItem.
Read more >
SelectedItem and SelectedIndex is not working for ...
I am trying to set selecteditem and selectedindex property of ComboBoxEditSettings through style. First time it is working fine but for next ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found