Search Issue Tracker

Active

Votes

0

Found in

6000.0.30f1

6000.1.0a6

Issue ID

UUM-89096

Regression

No

Field Max Length is set to the first digit typed instead of entire number typed

--

-

*Steps to reproduce:*
# Create a new URP project.
# Assets > Create > UI Toolkit > UI Document, open this in UI Builder.
# Under Numeric Fields, drag in Integer. Note that the default value in the field is 42.
# In the Inspector Attributes, set Max Length to 10.

*Actual results:* The Numeric Field displays 4.

*Expected results:* The Numeric Field should display 42.

*Reproducible with versions:* 6000.1.0a6, 6000.0.30f1

*Can’t test with versions:* 2022.3 and under, could not find Max Length attribute.

*Tested on (OS):* MacOS 12.7.6

*Notes:*
* Pressing Ctrl+S will set this to the expected result. You may not want to save until you are happy with your changes because of UUM-87092.
* Have not thoroughly regression tested this as it seems to be a new feature. Please contact the ticket reporter if regression testing will be useful.
* The text field seemed to fix itself after being reselected, but the numeric fields did not.

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.