From bfe444f527eafc9e76d403ae953d3efe24319e5a Mon Sep 17 00:00:00 2001 From: Eric Johnson Date: Fri, 10 Jan 2025 17:26:23 -0600 Subject: [PATCH] Update AbpTabTagHelperService.cs. Fix content-class attributes to use the .Value property This needs to use the .Value property of the 'content-class' attribute, just like on line 37 where it uses the .Value property of the 'header-class' attribute. --- .../TagHelpers/Tab/AbpTabTagHelperService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Tab/AbpTabTagHelperService.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Tab/AbpTabTagHelperService.cs index 227bc0fd71..8d5700159f 100644 --- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Tab/AbpTabTagHelperService.cs +++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Tab/AbpTabTagHelperService.cs @@ -89,7 +89,7 @@ public class AbpTabTagHelperService : AbpTagHelperService var id = TagHelper.Name; var attributes = GetTabContentAttributes(context, output); - var classAttributesAsString = attributes.Where(a => a.Name == "class").ToList().Select(a => a.Name).JoinAsString(" "); + var classAttributesAsString = attributes.Where(a => a.Name == "class").ToList().Select(a => a.Value).JoinAsString(" "); var otherAttributes = attributes.Where(a => a.Name != "class").ToList(); var wrapper = new TagBuilder("div");