Hey guys,
I thought this one was fixed already, but I can’t get -BackgroundColor and -FontColor to work for the New-UDCollapsible cmdlet (UD 2.8.0)
$homePage = New-UDPage -Name "Home" -Icon home -Content {
New-UDRow -Endpoint {
New-UDCollapsible -Id "Collapsible" -BackgroundColor 'black' -FontColor 'white' -Items {
New-UDCollapsibleItem -Title "First" -Icon user -Content {
New-UDCard -Title "First"
} -Active
New-UDCollapsibleItem -Title "Second" -Icon group -Content {
New-UDCard -Title "Second"
}
New-UDCollapsibleItem -Title "Third" -Icon user -Content {
New-UDCard -Title "Third"
}
}
}
}
$dashboard = New-UDDashboard -Title "MyPage" -Pages @(
$homePage
)
Start-UDDashboard -Dashboard $dashboard -Port 1001 -Force
This produce only white collapsible.
Same at your place ?
Thanks !