Search Issue Tracker

Won't Fix

Votes

0

Found in

5.3.0a5

Issue ID

730112

Regression

No

Changing InputField type from multiline to single line doesn't clear newline symbols and multiline text is still present

UI

-

Steps to reproduce:

1. Open attached project "multiline.zip"
2. Open scene "repro"
3. Run it
4. Into the InputField, enter some text (the key point is that text would contain newline symbols (Enter))
5. Select InputField in hierarchy and change it to single line
6. Notice that multiline text is still present

Note: If text is put to new line automatically (because it doesn't fit in the line) then setting InputField to single line will result in correct behaviour, because text didn't contain any newline symbols.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.