I am attempting to toggle between a few tables. The initial table is always rendered by the New-UDAutoComplete but each table change after that is via its respective button. I get an error using Remove-UDElement. Any ideas on how to resolve? Thanks!
I can reproduce this. I worked around it by using Sync-UDElement rather than Remove-UDElement on the UserTable. Since you are updating session variables, it will reevaluate and then hide the user table.