Hi everyone,
I’m currently developing with PowerShell Universal 4.2.7 and have encountered an issue with New-UDChip
. When using the -OnDelete
parameter with a callback like New-UDChip -Label 'Test' -OnDelete {Show-UDEventData}
, I noticed that the $EventData
variable inside the -OnDelete
block is $null
.
Is this the expected behavior? If so, could someone guide me on how to retrieve the id
of the New-UDChip
element when the OnDelete
event is triggered? Any insights or examples would be greatly appreciated.
Thanks in advance!
Product: PowerShell Universal
Version: 4.2.7