Skip to content

mat-select-trigger is invisible if value is undefined or null #7758

Closed
@hsinyu-chen

Description

@hsinyu-chen

Bug, feature request, or proposal:

md-select-trigger is invisible if value is undefined or null
when MD_PLACEHOLDER_GLOBAL_OPTIONS set to { float: 'always' }(use to show field name)
i cant show 'All' or 'Please Select ... ' on the md-select

What is the expected behavior?

need a way to show hint text / empty option alternative text

What is the current behavior?

mat-select-trigger is invisible if value is undefined or null

What are the steps to reproduce?

https://stackblitz.com/edit/angular-material2-issue-vyqfqf

What is the use-case or motivation for changing an existing behavior?

use select as a list filter, or form control with a hint text

Metadata

Metadata

Labels

P2The issue is important to a large percentage of users, with a workaround

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions