Product: PowerShell Universal
Version: 3.7.6
Started looking at autocomplete and noticed that I can’t completely clear text in it. Here is the code (that I snagged from the new AD template)
New-UDAutocomplete -OnLoadOptions {
Get-ADuser -Filter "samaccountname -like '*$body*'" | Select-Object -ExpandProperty Name | ConvertTo-Json
} -OnChange {
$Session:selecteduser = $Body
}
Here is what I am seeing. Notice that once I put and text in I can’t get rid of the very first letter