Ignition perspective Limit number of characters allowed in input text field

That can even be simplified a bit. The full ChangeScript can just be one line:

self.props.text = self.props.text[:self.custom.altMax]

There’s no need for a length check.

5 Likes