-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Deprecate md-select-label #2684
Comments
In the Material spec there is an option to have additional label text with it's own design rules so that both can be shown without overriding the display of the value. That would be the preferred behavioural outcome for my projects. |
Hello, Is there a way to configure this with 10.1? I'm currently able to do options with custom markup (as before) but unable to maintain consistency with the selected option since md-select-label has been removed. This creates the inconsistent UX. It's entirely possible that I'm missing something here. Let me know if anything here requires clarification. Thanks Here's a modification from a demo codepen demonstrating the behavior: http://codepen.io/anon/pen/rVbLOm |
What about when you use
The selected text in my case should be: How to accomplish that? |
+1
|
We used to allow people to customize what a select would show as the value when it was selected. This is bad UX as it can lead to a user thinking that was is selected is not what they clicked on.
We should follow the HTML native select's behavior of using the
option.textContent
as the display value for the label.placeholder
can be used for when no value is selected (as it currently, hopefully is).The text was updated successfully, but these errors were encountered: