Search Issue Tracker
Fixed in 1.5.2, 2.1.2, 3.0.2
Votes
0
Found in [Package]
3.0.1
Issue ID
1267777
Regression
No
[TMP] Typed text is added to the selected text when using InputField.OnValidateInput
How to reproduce:
1. Open the attached project's Scene labeled "scene"
2. Enter the Play Mode
3. In the Game View, type "100" in the TextField
4. Select the TextField text and type "3"
Expected result: TextField's text is replaced with "3"
Actual result: TextField's text is not replaced (Typed text is added to the selected text)
Reproducible with: 2018.4.23f1, 2019.4.0f1 (1.0.21, 2.1.1), 2020.1.0b12, 2020.2.0a14 (3.0.1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UI Toolkit 'background-size' property is not fully animatable
- Moving the Scrollbar via clicking no longer works after the first-click when page size is too small
- Elements in UI Builder Viewport are displayed incorrectly when Editor UI Scaling is set to 125%
- Prefab referencing a script is not shown in the Search window's Project tab when using "Find References In Project"
- Scroll view sensitivity remains unchanged when modifying the "--unity-metrics-single_line-height" value
Resolution Note (fix version 1.5.2, 2.1.2, 3.0.2):
Fixed Package available in Unity 2018.3.0a1 and above