I was wondering if there is a way i can have the icon in the UDTextbox clickable and run some code instead of having to use new-udiconbutton on a new part of the modal/form/whatever (which makes it a bit uglier).
Code im using:
New-UDTextbox -Label ‘VariableGroupName’ -id VariableGroupName -Disabled -value “$($vargroupname)” -FullWidth -icon (New-UDIcon -icon clipboard)
New-UDIconButton -Icon (New-UDIcon -icon clipboard) -OnClick { }