Automation [String[]] parameter

Hi,

I’m trying to pass [String[]] as parameter for simple automation script:

param (
[Parameter(Mandatory = $true)]
[String[]]$Users
)

foreach ($User in $Users) {
Write-Output “User: $User”
}

if I run it, the input form already filled with empty value that look like little opaque square with ‘x’ inside. It’s possible to delete this empty element and script will run as expected.

Is it possible to disable this empty value?

Product: PowerShell Universal
Version: 2.3.0

This is bug. Idk if there is a way around it. I’ll open an issue for it.