Scripting help: clearing out a text field

Any reason why this script does not clear a text field?


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.