set Expanded to lowercase if specified

This commit is contained in:
sbwalker 2023-06-28 12:24:59 -04:00
parent e1a8d3db54
commit d06feec37b

View File

@ -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"; }
}