When ever I input text into TMP_InputField an invisible “¶” gets added at the end.
Below is the settings on the input field.
When ever I input text into TMP_InputField an invisible “¶” gets added at the end.
Below is the settings on the input field.
Is it because you press ‘enter’ to finish editing the input field? If you know you’ll never want that formatting mark, try trimming it off the string when the input field loses focus, or when you are about to use the string.
inputField.text = inputField.text.TrimEnd('\r', '\n');
Yes I press enter on the mobile keyboard. I added trim to the string before sending it off to the server. However I’d like to know if there’s a setting to stop it adding that formatting mark.