I have a New-UDAutoComplete and I am trying the get the written value to be added when I press enter. I prefer Enter over clicking with the mouse or press “Down + Enter”
New-UDAutocomplete -Id Test -Label Test -OnLoadOptions {
$Body | Where-Object { $_ -match $Body } | ConvertTo-Json
} -OnEnter {
#Some code here
} -Multiple
Product: PowerShell Universal
Version: 4.2.0