Product: PowerShell Universal
Version: 2.0
OS: Windows Server 2019
Hi,
Got one more issue when I’m trying to migrate to PSU 2.0.
I can’t for the life of me understand why this issue are occuring, this page are working just fine in 1.5.
When I’m accessing the page I get this error message;
Parameter set cannot be resolved using the specified named parameters.
and the code looks like this;
New-UDRow -Columns {
New-UDColumn -LargeSize 3 -Content {}
New-UDColumn -LargeSize 6 -Content {
New-UDCard -Title '' -Content {
New-UDRow -Columns {
New-UDDynamic -Id 'VDICreateStart' -content {
New-UDColumn -SmallSize 12 -LargeSize 12 -Content {
New-UDCodeEditor -Id 'DelCompBox' -Height 450
}
} -LoadingComponent {
New-UDProgress -Circular
}
The CodeEditor works fine in other places but not here and I can’t figure it out =/
Edit;
Okej, so if I add -ReadOnly in the UDCodeEditor then it works but I then I can’t write in the codeeditor so that’s not what I want it to do.
Like this;
New-UDCodeEditor -Id 'DelCompBox' -ReadOnly -Height 450
@adam is this a bug or have something changed in v 2.0?