diff --git a/src/BootstrapBlazor.Server/Components/Samples/Dropdowns.razor b/src/BootstrapBlazor.Server/Components/Samples/Dropdowns.razor index fb96993c63a..71a55356052 100644 --- a/src/BootstrapBlazor.Server/Components/Samples/Dropdowns.razor +++ b/src/BootstrapBlazor.Server/Components/Samples/Dropdowns.razor @@ -6,27 +6,27 @@

@Localizer["Description"]

- + - +
- +
- +
- +
- +
@@ -34,16 +34,16 @@
- +
- +
- +
- +
@@ -51,22 +51,22 @@
- +
- +
- +
- +
- +
- +
@@ -74,16 +74,16 @@
- +
- +
- +
- +
@@ -96,7 +96,7 @@ Color="Color.Secondary" MenuAlignment="Alignment.Left" Direction="Direction.Dropdown" - ShowLabel="true" DisplayText="Start" /> + ShowLabel="true" DisplayText="Start">
+ ShowLabel="true" DisplayText="End">
+ ShowLabel="true" DisplayText="Center">
+ DisplayText="Center">
@@ -129,8 +129,7 @@
- - +
@@ -155,20 +154,29 @@
- +
- +
- + - + + + + + + + + @context.Text + + diff --git a/src/BootstrapBlazor.Server/Locales/en-US.json b/src/BootstrapBlazor.Server/Locales/en-US.json index 1e40b93fe59..e04989c351e 100644 --- a/src/BootstrapBlazor.Server/Locales/en-US.json +++ b/src/BootstrapBlazor.Server/Locales/en-US.json @@ -1773,6 +1773,8 @@ "IsFixedButtonTextIntro": "Set IsFixedButtonText to true make the ButtonText to const", "FixedButtonTextTitle": "Set the fixed button text", "FixedButtonTextIntro": "Set the FixedButtonText value for fixed button text", + "ButtonTemplateTitle": "Button Template", + "ButtonTemplateIntro": "You can customize the displayed content by setting ButtonTemlate", "AttributeValue": "Currently selected value", "AttributeClass": "Style", "AttributeColor": "Color", diff --git a/src/BootstrapBlazor.Server/Locales/zh-CN.json b/src/BootstrapBlazor.Server/Locales/zh-CN.json index 535f9120fe6..e48800bfe47 100644 --- a/src/BootstrapBlazor.Server/Locales/zh-CN.json +++ b/src/BootstrapBlazor.Server/Locales/zh-CN.json @@ -1773,6 +1773,8 @@ "IsFixedButtonTextIntro": "通过设置 IsFixedButtonText 使更改下拉选项时按钮文本不变", "FixedButtonTextTitle": "设置固定按钮文字", "FixedButtonTextIntro": "通过设置 FixedButtonText 来设置固定按钮的初始文字", + "ButtonTemplateTitle": "按钮模板", + "ButtonTemplateIntro": "通过设置 ButtonTemlate 可以自定义显示内容", "AttributeValue": "当前选中的值", "AttributeClass": "样式", "AttributeColor": "颜色",