Controller: Exposing HTML Input element events on PowerApps Component Framework
Views (307)
Hello,
As "addOnKeyPress" event for the text is deprecated, I want to reflect existing code in Dynamics 365 onpremise to online edition and implement much more functioanlities that need to register scripts for additional events, thus i developed a code component to meet my expectation.
you can download the control for PowerApps as well as Dynamics 365 from
https://github.com/TheMaty/MuhammetAtalay.Xrm.PCF.ExposeInputEvents .
You can set client scripts for following events
| onblur |
| onchange |
| oncopy |
| oncut |
| onclick |
| ondblclick |
| onfocus |
| onfocusin |
| onfocusout |
| oninput |
| onkeydown |
| onkeyup |
| onkeypress |
| onmousedown |
| onmouseenter |
| onmouseleave |
| onmousemove |
| onmouseover |
| onmouseout |
| onmouseup |
| onpaste |
| onselect |
| onwheel |
enjoy,
This was originally posted here.

Like
Report
*This post is locked for comments