Skip to content

Md-Select start value or active value #1973

Closed
@dahaupt

Description

@dahaupt

Bug, feature request, or proposal:

Feature request

What is the expected behavior?

The Md-Select-Component should be able to have a start value, which should remain active even after the page has been reloaded.

After reloading or switching routes I wanna see it like this:
Image

What is the current behavior?

We can't set a start value for select. We can click a button to set it, but there is no attribute available to bind it directly with a variable.

What are the steps to reproduce?

Look into existing select examples and try to set a startup value.

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

Angular Material latest version (from master)

Is there anything else we should know?

I am not sure if I just don't see the way to do it or if it's already planned for the future.

Metadata

Metadata

Assignees

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