Posted: 8 Nov 2016 17:03 EST Last activity: 1 Dec 2016 8:51 EST
OnChange Refresh on Non Auto Generated Controls
I've written a custom control, and added an onChange refresh to it. The problem is that the refresh only happens the first time. I've reproduced this with the pega out of box Decimal control. Scenario details are below. Has anyone seen this before, or know of a fix?
- Add a decimal property to the section, using the Decimal control
- Set the precision parameter to 2
- Add an onChange/refresh section event
- Enter a value of 2, tab off, and it changes to 2.00. If you change it again to a value of 4 and tab off, nothing happens.
I have introduced a non-auto generated control in Pega 6.2. However on change the value is not posted on the clipboard unless the workpage is saved. The ONCHANGE refresh does not work as the value is not posted on the clipboard. Neither the ONCHANGE 'Post Value' has any effect on the property. Only on submit the value in posted on the clipboard. Any idea how can I resolve this.