From adff919a7030b6a33cf957f97a0a963646c705ad Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Fri, 7 Nov 2025 15:14:00 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=20ValidateForm?= =?UTF-8?q?=20=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/BootstrapBlazor.Vditor/Vditor.razor | 6 +++++- src/components/BootstrapBlazor.Vditor/Vditor.razor.cs | 3 +-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/components/BootstrapBlazor.Vditor/Vditor.razor b/src/components/BootstrapBlazor.Vditor/Vditor.razor index 03bea19b..041dbfd6 100644 --- a/src/components/BootstrapBlazor.Vditor/Vditor.razor +++ b/src/components/BootstrapBlazor.Vditor/Vditor.razor @@ -1,5 +1,9 @@ -@namespace BootstrapBlazor.Components +@namespace BootstrapBlazor.Components @inherits ValidateBase @attribute [JSModuleAutoLoader("./_content/BootstrapBlazor.Vditor/Vditor.razor.js", JSObjectReference = true)] +@if (IsShowLabel) +{ + +}
diff --git a/src/components/BootstrapBlazor.Vditor/Vditor.razor.cs b/src/components/BootstrapBlazor.Vditor/Vditor.razor.cs index 372c2455..5555c285 100644 --- a/src/components/BootstrapBlazor.Vditor/Vditor.razor.cs +++ b/src/components/BootstrapBlazor.Vditor/Vditor.razor.cs @@ -1,4 +1,4 @@ -// Copyright (c) Argo Zhang (argo@163.com). All rights reserved. +// Copyright (c) Argo Zhang (argo@163.com). All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Website: https://www.blazor.zone or https://argozhang.github.io/ @@ -80,7 +80,6 @@ protected override async Task OnAfterRenderAsync(bool firstRender) if (firstRender) { _lastValue = Value; - return; } if (_lastValue != Value) From 6d491bd72b2dd0f51dae29e89777e115540839a5 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Fri, 7 Nov 2025 15:14:19 +0800 Subject: [PATCH 2/2] chore: bump version 9.0.1 --- .../BootstrapBlazor.Vditor/BootstrapBlazor.Vditor.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/BootstrapBlazor.Vditor/BootstrapBlazor.Vditor.csproj b/src/components/BootstrapBlazor.Vditor/BootstrapBlazor.Vditor.csproj index 11cd6149..3ed1ae52 100644 --- a/src/components/BootstrapBlazor.Vditor/BootstrapBlazor.Vditor.csproj +++ b/src/components/BootstrapBlazor.Vditor/BootstrapBlazor.Vditor.csproj @@ -1,7 +1,7 @@ - 9.0.0 + 9.0.1