material icon indicating copy to clipboard operation
material copied to clipboard

select: select option if there is only 1 option

Open jobo26 opened this issue 10 years ago • 0 comments

Feature request: automatically select option from md-select if there is just 1 option. Maybe this could be an optional setting on the directive.

Actual Behavior:

  • What is the issue? * I want to improve the usability of my form by pre-selecting values from md-select items if they only have 1 option.
  • What is the expected behavior?

CodePen (or steps to reproduce the issue): *

  • CodePen Demo which shows your issue: http://codepen.io/joranbodt/pen/dpXNoE
  • Details:

Angular Versions: *

  • Angular Version:
  • Angular Material Version:

Additional Information:

  • Browser Type: *
  • Browser Version: *
  • OS: *
  • Stack Traces:

jobo26 avatar Sep 16 '16 14:09 jobo26