adopted-ember-addons / ember-paper

The Ember approach to Material Design.
https://ember-paper.netlify.app/
MIT License
888 stars 333 forks source link

Paper Select not showing error message #1158

Open wukongrita opened 4 years ago

wukongrita commented 4 years ago

Hi @miguelcobain Why is the paper select not showing the error message? It just display the warning colour...

image

Ember Paper version 1.0.0-beta.31

Works when using the 1.0.0-beta.26 version...

wukongrita commented 4 years ago

I added these lines at https://github.com/miguelcobain/ember-paper/blob/master/addon/components/paper-select/template.hbs#L35

  {{#unless hideAllMessages}}
    <div class="md-errors-spacer"></div>

    {{#if isInvalidAndTouched}}
      <div class="md-input-messages-animation md-auto-hide">
        <div class="paper-input-error ng-enter ng-enter-active md-input-message-animation" style="opacity: 1; margin-top: 0">
          {{@errors}}
        </div>
      </div>
    {{/if}}
  {{/unless}}

Seems there is missing on displaying error messages for paper select...