cibernox / ember-power-select-with-create

Ember-power-select addon with an `Add ${term}` option in the first position
https://ember-power-select-with-create.pagefrontapp.com/
MIT License
50 stars 67 forks source link

Support for custom triggerComponent appears to have broken with 0.9.0 release #117

Closed calvinlough closed 3 years ago

calvinlough commented 3 years ago

With the switch to modern octane/glimmer with the 0.9.0 release, ember-power-select-with-create appears to be ignoring my custom triggerComponent. I believe this line in power-select-with-create.hbs:

@triggerComponent={{this.triggerComponent}}

needs to be changed to:

@triggerComponent={{@triggerComponent}}

https://github.com/cibernox/ember-power-select-with-create/blob/master/addon/components/power-select-with-create.hbs#L53