From 5524e849ab126170157b58a0c928fb9b79d0f5a7 Mon Sep 17 00:00:00 2001 From: Katelyn Kasperowicz Date: Wed, 30 Mar 2016 10:02:29 -0700 Subject: [PATCH] Update CHANGELOG and default to notFoundComponent --- CHANGELOG.md | 1 + app/templates/components/paper-autocomplete.hbs | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 324fdddee..cfd2ff7d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Ember Paper Changelog ### master +- [#322](https://github.com/miguelcobain/ember-paper/pull/322) Remove documentation for searchTest in inverse block for `{{paper-autocomplete}}`. - [#323](https://github.com/miguelcobain/ember-paper/pull/323) Pass item through as expected rather than label to itemComponent for `{{paper-autocomplete}}`. ### 0.2.12 diff --git a/app/templates/components/paper-autocomplete.hbs b/app/templates/components/paper-autocomplete.hbs index 7a5c99f0e..3e24ce3e3 100644 --- a/app/templates/components/paper-autocomplete.hbs +++ b/app/templates/components/paper-autocomplete.hbs @@ -58,11 +58,13 @@ {{else}} {{#if showLoadingBar}} - {{!-- Render named component then default --}} + {{!-- Render named component, then inverse block then default --}} {{#if notFoundComponent}} -
  • {{component notFoundComponent searchText=searchText}}
  • +
  • {{component notFoundComponent searchText=searchText}}
  • + {{else if (has-block "inverse")}} +
  • {{yield to="inverse"}}
  • {{else}} -
  • {{notFoundMsg}}
  • +
  • {{notFoundMsg}}
  • {{/if}} {{/if}} {{/each}}