Hello All,
I might be doing something wrong, but using New-UDAutoselect, I cannot get the items selected to show in the textbox. Do I need to do something further to get this to happen. Returning $Body does return the results I expect: Printer1,Printer2,Other
$curPrints = Invoke-SqlCmd -ServerInstance MyServer -Query $query
New-UDAutocomplete -OnLoadOptions {
@($($curPrinters.prtName)) | Where-Object { $_ -like "*$Body*" } | ConvertTo-Json
} -Id 'selPrinters' -Multiple -OnChange {
Show-UDToast $Body
}
Se