Search Issue Tracker
Fixed in 2020.2.X
Votes
1
Found in
2018.4
2019.3.1f1
2020.2
Issue ID
1253193
Regression
No
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, 2020.1.0b12, 2020.2.0a14
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note (fix version 2020.2):
Fixed in Unity 2020.2.0a21