material-components-web icon indicating copy to clipboard operation
material-components-web copied to clipboard

[MDC Select] Theming doesn't work as described in documentation and the select menu is not listed in web components.

Open TimGeibel opened this issue 3 years ago • 0 comments

Feature Request

  1. Documentation for the Select Menu should be added to component list. At the moment it's only findable through search.
  2. The theming part in the documentation is not working as described:
    • For theming the documentation says to add: @use '@material/select'; Unfortunately this doesn't work.

Proposed solution

  1. Please add the select menu component to the component list on the left side menu on https://material.io/components?platform=web
  2. Please change the documentation regarding theming to:
@use '@material/select/mixins' as select;

.my-demo-select {
  @include select.filled-density(-2);
}

Alternatives considered

An alternative solution of course would be to make the mdc-select theming possible as described in the documentation.

TimGeibel avatar Aug 15 '22 15:08 TimGeibel