Search Issue Tracker
Fixed
Fixed in 6000.0.61f1, 6000.2.10f1, 6000.3.0b8, 6000.4.0a4, 6000.5.0a1
Votes
0
Found in
6000.0.60f1
6000.2.8f1
6000.3.0b5
6000.4.0a1
6000.5.0a1
Issue ID
UUM-122277
Regression
No
[UITK Controls] Non text InputField can't be reset by API
As described here [https://discussions.unity.com/t/unset-reset-or-clear-integerfield-inputfield-numericfield-and-manage-placeholder-issue-and-solution/1690089]
Resetting of an IntegerField currently not possible by code, like setting integerField to null.
one can set the value to a default value but placeholder style of empty field not recovered (like when deleting the input with keyboard);
Steps to reproduce:
- Create an IntegerFiled
- try to set the value to null/default
Actual results:
Can't do it and the placeholder is hidden
Expected results:
We have a way to reset the value and see the placeholder
Reproducible with versions: 6000.3.0b5
Not reproducible with versions:
Can’t test with versions:
Tested on (OS): windows
Notes:
- For numeric fields, setting to null is not an option. We'll need a method to clear the field. The `text` property would have been an option, but it's internal.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Holes and different colors appear on default Tree Materials after applying them to the Tree GameObject and undoing changes
- Error indicating that the Text Asset Importer hasn't been disposed properly is logged when switching Importer Type in a Focused Inspector
- Documentation installation shows "Install failed: Validation Failed" when installing Android Build Support module
- Error indicating that the Package Manifest Importer hasn't been disposed properly is logged when switching Importer Type in a Focused Inspector
- Inactive "Skinning Editor" toolbar overlaps the help box in the "Sprite Editor" when asset is not editable
Add comment