Skip to content

Failed to construct 'CustomElement' solution + 1 size q #5496

Answered by asyncLiz
MrDrone-ru asked this question in Q&A
Discussion options

You must be logged in to vote

I believe the tabs attribute hydration error was fixed in #5463 and released in v1.3.0. Can you try updating to see if that fixes it?

For styling, you should be able to set --md-menu-item-* custom properties on the <md-select-option>.

<style>
  md-select-option {
    --md-menu-item-label-text-size: 24px;
    --md-menu-item-label-text-line-height: 32px;
  }
</style>
<md-outlined-select label="Select">
  <md-select-option>First</md-select-option>
  <md-select-option>Second</md-select-option>
</md-outlined-select>

Playground demo

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MrDrone-ru
Comment options

Answer selected by MrDrone-ru
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants