Users

All Posts (4)

avatar

jcrabtree

2026.3.2 - New-UDSelect - EventData now returns QUOTED values

avatar
avatar
avatar

Thanks @Adam Driscoll ! You're always super helpful. I'll get this update installed today.

Did $EventData in UDSelect change in 2026.3.0.0?

avatar
avatar
avatar
avatar
avatar

This is still present in 2026.3.2, and I haven't tried 2026.3.3 yet. I posted the same bug with the following example code

New-UDApp -Content {
    New-UDSelect -Label 'Protocol' -Id 'ProtocolSelect' -Option {
        New-UDSelectOption -Name "HTTP" -Value http
        New-UDSelectOption -Name "HTTPS" -Value https
        New-UDSelectOption -Name "Serial" -Value serial
    } -DefaultValue 'http' -FullWidth -OnChange {
        Show-UDToast -Persistent -Message $EventData
    }
}

2026.3.2 - New-UDSelect - EventData now returns QUOTED values

avatar
avatar
avatar

The behavior of UDSelect has changed (without notice?) and now values are being returned as quoted strings instead of bare values

For example the UDSelect below, in older versions would return http, https, or serial. NOW it returns "http", "https", or "serial" - with quotes.

New-UDApp -Content {
    New-UDSelect -Label 'Protocol' -Id 'ProtocolSelect' -Option {
        New-UDSelectOption -Name "HTTP" -Value http
        New-UDSelectOption -Name "HTTPS" -Value https
        New-UDSelectOption -Name "Serial" -Value serial
    } -DefaultValue 'http' -FullWidth -OnChange {
        Show-UDToast -Persistent -Message $EventData
    }
}

New-UDMapVectorLayer -Circle -Radius - Unit of Measure?

avatar
avatar
Product: PowerShell Universal
Version: 5.5.2

When using UDMapVectorLayer to draw a circle on a UDMap what is the unit of measure for the radius of that circle? The documentation just gives a data type of int32, but it doesn’t specify if that is in feet, meters, kilometers, miles…

1 - 4 of 4 items