From d06feec37b34051e95386b10f1e3ea2409713eeb Mon Sep 17 00:00:00 2001 From: sbwalker Date: Wed, 28 Jun 2023 12:24:59 -0400 Subject: [PATCH] set Expanded to lowercase if specified --- Oqtane.Client/Modules/Controls/Section.razor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Oqtane.Client/Modules/Controls/Section.razor b/Oqtane.Client/Modules/Controls/Section.razor index 3620d893..115e352d 100644 --- a/Oqtane.Client/Modules/Controls/Section.razor +++ b/Oqtane.Client/Modules/Controls/Section.razor @@ -40,7 +40,7 @@ protected override void OnInitialized() { _heading = (!string.IsNullOrEmpty(Heading)) ? Heading : Name; - _expanded = (!string.IsNullOrEmpty(Expanded)) ? Expanded : "false"; + _expanded = (!string.IsNullOrEmpty(Expanded)) ? Expanded.ToLower() : "false"; if (_expanded == "true") { _show = "show"; } }