Trouble with deferring updates

I’m sure this is a simple issue but I’m having trouble here.

I have a text entry component, and the Defer Updates property is True. However, if I script a property change to event.source.text, it fires continuously and in real time as I type.

I of course would like to not have the script fire until the user inputs the full text and hits the enter button. Can someone please point me in the right direction here? Thanks!

Are you check for event.propertyName == 'text' in your propertyChange event?

Thanks! You of course are 100% correct. Thanks for your help. I was testing for event.source.text. Makes sense now!