We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61ca51d commit 35b2018Copy full SHA for 35b2018
2 files changed
src/components/BootstrapBlazor.Region/BootstrapBlazor.Region.csproj
@@ -1,7 +1,7 @@
1
<Project Sdk="Microsoft.NET.Sdk.Razor">
2
3
<PropertyGroup>
4
- <Version>9.0.4</Version>
+ <Version>9.0.5</Version>
5
</PropertyGroup>
6
7
src/components/BootstrapBlazor.Region/Components/SelectCity.razor.cs
@@ -31,6 +31,7 @@ public partial class SelectCity
31
32
/// <summary>
33
/// 获得/设置 单选时选择后是否自动关闭 默认 true
34
+ /// <para><see cref="IsMultiple"/> 值为 true 时,这个参数不生效</para>
35
/// </summary>
36
[Parameter]
37
public bool AutoClose { get; set; } = true;
@@ -144,7 +145,7 @@ private async Task OnSelectCity(string item)
144
145
CurrentValue = item;
146
}
147
- if (AutoClose)
148
+ if (!IsMultiple && AutoClose)
149
{
150
await InvokeVoidAsync("hide", Id);
151
0 commit comments