I have a Textfield (input), and I’m using it to get information from a barcode that returns something like this:
ab12345&xxx754xx&acd458www55
the problem after I press enter and try to get the value (text) self.props.text, the system is interpreting the symbol & like concatenates (+).
How can I get this: ab12345&xxx754xx&acd458www55 ?
For the test I configured a script in the Text Field onKeyUp event: self.getSibling("Label_0").props.text = self.props.text
This seems to pass through the string containing ampersands without difficulty.
Can you try to reproduce it? Maybe edit your question to include the Ignition version too.
Thanks for the answer, but the problem is happening after I press Enter and populate the information in another place ‘Label’ for example.
What I’m doing is getting the information from the text field passing from Event onKeyDown , and executing a Query in SQL.
I’m using Ignition 8.1.