components icon indicating copy to clipboard operation
components copied to clipboard

set md-select width to width of its longest item

Open HegdeSach opened this issue 9 years ago • 5 comments

Bug, feature request, or proposal:

Proposal

What is the expected behavior?

configure md-select box to use the width of the longest item. power designer - google chrome_3

What is the current behavior?

md-select box has fixed width and it displays ellipsis for the longest item when selected power designer - google chrome_2

HegdeSach avatar Aug 14 '17 05:08 HegdeSach

Also allow md-select to grow to 100% of its parent container.

kkotak avatar Sep 25 '17 20:09 kkotak

Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.

Find more details about Angular's feature request process in our documentation.

angular-robot[bot] avatar Feb 01 '22 18:02 angular-robot[bot]

Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.

We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.

You can find more details about the feature request process in our documentation.

angular-robot[bot] avatar Feb 21 '22 15:02 angular-robot[bot]

The mat-select is going to expand to fill the mat-form-field it is placed in so you can control the width that way. Closing the issue since it currently works as expected.

crisbeto avatar Jun 28 '22 12:06 crisbeto

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.