From b7004f0fa65e8f3c5a1a5fb64bec9546b87a6c4a Mon Sep 17 00:00:00 2001 From: George Drak Date: Fri, 14 Jan 2022 14:11:54 +0500 Subject: [PATCH] feat(antdesign): fix validation messages --- .../Forms/AntBlockValidationMessage.razor | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Sitko.Blockly.AntDesign/Forms/AntBlockValidationMessage.razor b/src/Sitko.Blockly.AntDesign/Forms/AntBlockValidationMessage.razor index ad4a73e..1b2c0f8 100644 --- a/src/Sitko.Blockly.AntDesign/Forms/AntBlockValidationMessage.razor +++ b/src/Sitko.Blockly.AntDesign/Forms/AntBlockValidationMessage.razor @@ -1,7 +1,11 @@ @using Microsoft.AspNetCore.Components.Forms @foreach (var message in CurrentEditContext.GetValidationMessages(BlockForm.FieldIdentifier).Distinct().ToArray()) { - +
+
+ @message +
+
} @code