Skip to content

mat-select not giving underline and placeholder  #8474

@Anoop-Goudar

Description

@Anoop-Goudar

Bug, feature request, or proposal:

Underline for the dropdown is not rendering and placeholder value is not displaying, please see the code below


<mat-select *ngIf="someCheck" 
  (ngModelChange)="updateonchange()" 
  [(ngModel)]="selectedvalue">
   <mat-option>
          Test
   </mat-option>
   <mat-option>
          Test1
   </mat-option>
</mat-select>

What is the expected behavior?

It was working fine with md-select, after the updating to the latest release, I am having this issue

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

"@angular/material": "^5.0.0-rc0",
"@angular/animations": "^5.0.1",
"@angular/cli": "^1.5.0",
"typescript": "^2.6.1"

using Ubuntu and Google Chrome

Is there anything else we should know?

Please check the screen shot
nounderline

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions