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 48de7f7Copy full SHA for 48de7f7
1 file changed
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