How can I get the OnChange property to trigger. Do I need to somehow register the OnChange event? If so, how?
Hi @ra1449 ,
From inside the PCF you need to call the notifyOutputChanges(). The runtime will call the PCF "getOutputs" method, where you can pass the new value(s).
On the form you can use the control as any other one, and register to onChange events as usual.
Maybe you would like to check the PCF architecture too, for more details: https://docs.microsoft.com/en-us/learn/modules/get-started-component-framework/2-architecture?WT.mc_id=BA-MVP-5004107
Hope this helps!
Kind regards,
Diana
WarrenBelz
109
Most Valuable Professional
Michael E. Gernaey
82
Super User 2025 Season 1
MS.Ragavendar
72