Unity Issue Tracker - TextMeshPro just one line is allowed in the Input Field if the Line Limit is set to 0 when having “Multi Line Submit“ or “Multi Line Submit“ Line Types
Fixed
UUM-57192
TextMeshPro just one line is allowed in the Input Field if the Line Limit is set to 0 when having “Multi Line Submit“ or “Multi Line Submit“ Line Types
Unity: uGUI
Fixed
2023.3.X
2023.3.0a7 onwards
2023.2.X
2023.2.0b12 onwards
2022.3.X
Fixed in: 2023.3.0b1
Fixed in: 2023.2.5f1
TMP_InputField line limit behavior to mean unlimited when the value is set to zero or negative
How to reproduce:
1. Open the user’s attached “IN-61685_MultiLineBugReportProject.zip” project
2. Enter Play Mode
3. In the top Input Field, insert a few new lines
4. Observe the result
Expected result: The number of new lines is not limited
Actual result: Just one line can be added