From f70b7177c375f2431aca406208d6b580996d9ae1 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Fri, 2 Aug 2024 13:09:05 +0800 Subject: [PATCH] fix(Tab): disable drag when set AllowDrag to false (#3965) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: 禁止拖动 * chore: bump version 8.8.1-beta03 --- src/BootstrapBlazor/BootstrapBlazor.csproj | 2 +- src/BootstrapBlazor/Components/Tab/Tab.razor.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BootstrapBlazor/BootstrapBlazor.csproj b/src/BootstrapBlazor/BootstrapBlazor.csproj index 405d87cf3..6ea3bd7dc 100644 --- a/src/BootstrapBlazor/BootstrapBlazor.csproj +++ b/src/BootstrapBlazor/BootstrapBlazor.csproj @@ -1,7 +1,7 @@ - 8.8.1-beta02 + 8.8.1-beta03 diff --git a/src/BootstrapBlazor/Components/Tab/Tab.razor.cs b/src/BootstrapBlazor/Components/Tab/Tab.razor.cs index c4e5f7836..b54e1e549 100644 --- a/src/BootstrapBlazor/Components/Tab/Tab.razor.cs +++ b/src/BootstrapBlazor/Components/Tab/Tab.razor.cs @@ -284,7 +284,7 @@ public partial class Tab : IHandlerException private Placement LastPlacement { get; set; } - private string? DraggableString => AllowDrag ? "true" : null; + private string DraggableString => AllowDrag ? "true" : "false"; /// ///