propertyChange events happen after the property has already changed. You could add a custom property with the ‘real’ value, that you only write from scripting after your write has been attempted from the text component itself.
Thanks for the reply, I tried several ways, but I didn’t get results, do you have any examples? Confirmation of any input should be a basic part of SCADA