Ember-power-select: 1.0.0-beta.4 - renderInPlace=True causes error about duplicate ID in use

Created on 29 Jul 2016  路  6Comments  路  Source: cibernox/ember-power-select

In the latest beta when i put two power-select-multiple on the same page with renderInPlace=true i get an exception.

Assertion Failed: Attempted to register a view with an id already in use: null

With previous versions of the plugin this worked fine.

{{#power-select-multiple options=assets renderInPlace=true selected=filteredAssets searchField="name" placeholder=(t 'track.trackEventsChooseAssetsToShow') onchange=(action "assetFilterChanged") as |asset|}}
              {{asset.name}}
{{/power-select-multiple}}

{{#power-select-multiple options=eventTypes renderInPlace=true selected=filteredEvents searchField="name" placeholder=(t 'track.trackEventsChooseEventsToShow') onchange=(action "eventFilterChanged") as |event|}}
                {{event.name}}
{{/power-select-multiple}}

Most helpful comment

Just one update that this is next on my list of bugs.

All 6 comments

It also happens with {{power-select}} component.

Just one update that this is next on my list of bugs.

+1

Starting with this one 馃敟

馃崠 Get it while it's hot!
馃敟

All good on 2.7.0 now! Thanks.

Was this page helpful?
0 / 5 - 0 ratings