Ember Power Select / Ember Basic Dropdown was moved ~ a year ago to an v2 addon (v8.x)
I have seen that the package is still using the legacy version v7.2.0
|
"ember-power-select": "7.2.0", |
The move to v8 would be good, because there were improvement some parts of typing, a11y, dependencies were dropped and also updated.
In addtional you can drop one part of setup for this package (theme config is not needed) and move to recommended way to use it inside application.hbs.
|
<EuiTitle> |
|
<h3> |
|
Last steps... |
|
</h3> |
|
</EuiTitle> |
|
|
|
The whole ember ecosystem is working towards v2 spec, so by now we need to do some extra steps for EuiComboBox to work because its an ember-power-select wrapper. |
|
|
|
Inside your index.html file, do the following: |
|
Add a div id="ember-basic-dropdown-wormhole" below body-footer meanwhile ember-power-select and ember-basic-dropdown get modernized, also, add in ember-cli-build, inside the app config |
|
|
|
<EuiCodeBlock @language="ts" @isCopyable={{true}}> |
|
{{t "getting_started.ember_power_select"}} |
Here you can find the migration docs for this https://ember-power-select.com/docs/migrate-7-0-to-8-0
Changelogs:
https://github.com/cibernox/ember-power-select/blob/master/ember-power-select/CHANGELOG.md
Ember Power Select / Ember Basic Dropdown was moved ~ a year ago to an v2 addon (v8.x)
I have seen that the package is still using the legacy version v7.2.0
ember-eui/packages/core/package.json
Line 147 in dcacacc
The move to v8 would be good, because there were improvement some parts of typing, a11y, dependencies were dropped and also updated.
In addtional you can drop one part of setup for this package (theme config is not needed) and move to recommended way to use it inside
application.hbs.ember-eui/docs/getting-started.md
Lines 85 to 97 in dcacacc
Here you can find the migration docs for this https://ember-power-select.com/docs/migrate-7-0-to-8-0
Changelogs:
https://github.com/cibernox/ember-power-select/blob/master/ember-power-select/CHANGELOG.md