Any reason why this script does not clear a text field?
system.tag.writeBlocking(['self.getSibling("TextField").props.text'],[""])
Any reason why this script does not clear a text field?
system.tag.writeBlocking(['self.getSibling("TextField").props.text'],[""])
A text field component is not a tag so system.tag.writeBlocking
is not appropriate. Try
self.getSibling("TextField").props.text = ""
i.e. Just set the property directly.
Tip: use the Vision or Perspective tag on your questions to make it clear which it relates to. Also, since your question was about Ignition you should post it in the Ignition category which has a lot more activity than General Discussion.