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 [Internal link].
- 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.