Skip to content

Commit 840d89e

Browse files
committed
Added component merging for Select and TextField.
1 parent 2c1679f commit 840d89e

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

BlazorMaterialWeb.Demo/Pages/Select.razor

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,17 @@
1212
Select menus display a list of choices on temporary surfaces and display the currently selected menu item above the menu.
1313
</Description>
1414
<ComponentDemo>
15+
<div>
16+
<MarkdownBlock>
17+
**[Components merging](/features#components-merging)**:
18+
All Select components
19+
(`md-outlined-select` and `md-filled-select`)
20+
are merged into a single `MdSelect` and you can use
21+
`SelectStyle` parameter to set the style.
22+
`MdSelectStyle.Outlined` is the default value if unset.
23+
</MarkdownBlock>
24+
</div>
25+
1526
<div class="row">
1627
<div class="col">
1728
<MdSelect @ref="cboNum" @bind-Value="selectedValue" @bind-SelectedIndex="selectedIndexes[0]"

BlazorMaterialWeb.Demo/Pages/TextField.razor

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,17 @@
1010
Text fields let users enter text into a UI
1111
</Description>
1212
<ComponentDemo>
13+
<div>
14+
<MarkdownBlock>
15+
**[Components merging](/features#components-merging)**:
16+
All Text fields
17+
(`md-filled-text-field` and `md-outlined-text-field`)
18+
are merged into a single `MdTextField` and you can use
19+
`TextFieldStyle` parameter to set the style.
20+
`MdTextFieldStyle.Outlined` is the default value if unset.
21+
</MarkdownBlock>
22+
</div>
23+
1324
<div class="row align-items-center">
1425
<div class="col">
1526
<ErrorBoundary @ref="numberErrHandler">

0 commit comments

Comments
 (0)