miguelcobain / ember-paper

The Ember approach to Material Design.
http://miguelcobain.github.io/ember-paper
MIT License
889 stars 331 forks source link

Paper Select not showing error message #1158

Open wukongrita opened 3 years ago

wukongrita commented 3 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 3 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...