Perspective Components for Text Field and Text Area don't have "OnChange" event. Is there a way to achieve it?

I am trying to update TextField2 when user enters text in TextField1. How to capture the change on TextField1?

Method 1
On TextField1 set props.deferUpdates : false.
On TextField2 create a property binding to ../TextField.props.text.

Method 2
On TextField1 set props.deferUpdates : false.
Right-click on TextField1 and select Configure Events. Add an onKeyPress event script.
self.getSibling("TextField_0").props.text = self.props.text

1 Like