diff --git a/addon/templates/components/power-select.hbs b/addon/templates/components/power-select.hbs
index 1987dcf5b..3fa93a573 100644
--- a/addon/templates/components/power-select.hbs
+++ b/addon/templates/components/power-select.hbs
@@ -66,36 +66,39 @@
searchPlaceholder=(readonly searchPlaceholder)
select=(readonly publicAPI)
selectedItemComponent=(readonly selectedItemComponent)}}
- {{#if mustShowSearchMessage}}
- {{component searchMessageComponent
- searchMessage=(readonly searchMessage)
- select=(readonly publicAPI)
- }}
- {{else if mustShowNoMessages}}
- {{#if (hasBlock "inverse")}}
- {{yield to="inverse"}}
- {{else if noMatchesMessage}}
-
- -
- {{noMatchesMessage}}
-
-
+
+
+ {{#if mustShowSearchMessage}}
+ {{component searchMessageComponent
+ searchMessage=(readonly searchMessage)
+ select=(readonly publicAPI)
+ }}
+ {{else if mustShowNoMessages}}
+ {{#if (hasBlock "inverse")}}
+ {{yield to="inverse"}}
+ {{else if noMatchesMessage}}
+
+ -
+ {{noMatchesMessage}}
+
+
+ {{/if}}
+ {{else}}
+ {{#component optionsComponent
+ class="ember-power-select-options"
+ extra=(readonly extra)
+ groupIndex=""
+ loadingMessage=(readonly loadingMessage)
+ id=(readonly optionsId)
+ options=(readonly publicAPI.results)
+ optionsComponent=(readonly optionsComponent)
+ groupComponent=(readonly groupComponent)
+ select=(readonly publicAPI)
+ as |option term|}}
+ {{yield option term}}
+ {{/component}}
{{/if}}
- {{else}}
- {{#component optionsComponent
- class="ember-power-select-options"
- extra=(readonly extra)
- groupIndex=""
- loadingMessage=(readonly loadingMessage)
- id=(readonly optionsId)
- options=(readonly publicAPI.results)
- optionsComponent=(readonly optionsComponent)
- groupComponent=(readonly groupComponent)
- select=(readonly publicAPI)
- as |option term|}}
- {{yield option term}}
- {{/component}}
- {{/if}}
- {{component afterOptionsComponent select=(readonly publicAPI) extra=(readonly extra)}}
+ {{component afterOptionsComponent select=(readonly publicAPI) extra=(readonly extra)}}
+
{{/dropdown.content}}
{{/basic-dropdown}}