Issues getting value form New-UDTransferListItem

Product: PowerShell Universal
Version: 3.0.3 and 2.10.2

I am trying to use New-UDTransferlist and get the value of the lists. I am testing using the example from the documentation but I never get any values in the array? What am I missing? I have tested on 3.0.3 and 2.10.2 with same results. The results only show the guid for the ID and for the value.

New-UDForm -Content {
    New-UDTransferList -Item {
        New-UDTransferListItem -Name 'test1' -Value 1
        New-UDTransferListItem -Name 'test2' -Value 2
        New-UDTransferListItem -Name 'test3' -Value 3
        New-UDTransferListItem -Name 'test4' -Value 4
        New-UDTransferListItem -Name 'test5' -Value 5
    }
} -OnSubmit {
    Show-UDToast ($EventData | ConvertTo-Json)
}

I can reproduce this and a fix will be available in the next 3.0.x and 2.11.x builds.

1 Like