Search Unity

  1. Are you interested in providing feedback directly to Unity teams? Sign up to become a member of Unity Pulse, our new product feedback and research community.
    Dismiss Notice

TextMesh Pro TMP input field multi-lines submit mode

Discussion in 'UGUI & TextMesh Pro' started by Gladyon, Jul 12, 2021.

  1. Gladyon

    Gladyon

    Joined:
    Sep 10, 2015
    Posts:
    322
    I have tried the multi-lines submit mode, and I have been very surprised to see that when you press 'Enter', a carriage return is added where the cursor is before the input is submitted.

    You can see that very clearly by writing a line without any carriage return, go back in the middle, and press 'Enter'.
    Your line will now be one 2 different lines.

    Is that a bug or is it the intended behaviour?
     
  2. Stephan_B

    Stephan_B

    Unity Technologies

    Joined:
    Feb 26, 2017
    Posts:
    6,071
    That is a bug which will be fixed in the next release of the TMP package which I am in the process of finalizing for release.
     
  3. Gladyon

    Gladyon

    Joined:
    Sep 10, 2015
    Posts:
    322
    Thank you, you fix bugs faster than we create bug reports ;)
     
unityunity