From 75d811988053abb2094ca63dfa222aa762ab75e5 Mon Sep 17 00:00:00 2001 From: ivanszabo Date: Thu, 5 Jun 2025 08:12:27 +0200 Subject: [PATCH] =?UTF-8?q?Ellen=C5=91rz=C5=91=20lap=20mdos=C3=ADthat?= =?UTF-8?q?=C3=B3s=C3=A1ga?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Helpers/AspForDataTypeTagHelper.cs | 4 ++++ .../CheckListHeaderEditPage.cshtml | 20 +++++++++---------- .../Pages/_ViewImports.cshtml | 1 + 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/src/WorkFlowCheck.Web/Helpers/AspForDataTypeTagHelper.cs b/src/WorkFlowCheck.Web/Helpers/AspForDataTypeTagHelper.cs index af9484b..de3375e 100644 --- a/src/WorkFlowCheck.Web/Helpers/AspForDataTypeTagHelper.cs +++ b/src/WorkFlowCheck.Web/Helpers/AspForDataTypeTagHelper.cs @@ -17,8 +17,12 @@ namespace WorkFlowCheck.Web.Helpers string dataType = GetDataTypeString(type); output.Attributes.SetAttribute("data-type", dataType); + + // 🔥 EZ HIÁNYZIK → Rakd be! + output.Attributes.RemoveAll("asp-for-datatype"); } + private string GetDataTypeString(Type type) { // Nullable esetén nyerjük ki az alaptípust diff --git a/src/WorkFlowCheck.Web/Pages/CheckList/CheckListHeader/CheckListHeaderEditPage.cshtml b/src/WorkFlowCheck.Web/Pages/CheckList/CheckListHeader/CheckListHeaderEditPage.cshtml index 47e2a92..78f9c11 100644 --- a/src/WorkFlowCheck.Web/Pages/CheckList/CheckListHeader/CheckListHeaderEditPage.cshtml +++ b/src/WorkFlowCheck.Web/Pages/CheckList/CheckListHeader/CheckListHeaderEditPage.cshtml @@ -33,23 +33,23 @@
- - - - - - - - + + + + + + + +
- +
- +
diff --git a/src/WorkFlowCheck.Web/Pages/_ViewImports.cshtml b/src/WorkFlowCheck.Web/Pages/_ViewImports.cshtml index 30510b3..e0356cc 100644 --- a/src/WorkFlowCheck.Web/Pages/_ViewImports.cshtml +++ b/src/WorkFlowCheck.Web/Pages/_ViewImports.cshtml @@ -2,3 +2,4 @@ @using WorkFlowCheck.Web.Helpers @namespace WorkFlowCheck.Web.Pages @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers +@addTagHelper *, WorkFlowCheck.Web.Helpers