Search Issue Tracker

By Design

Votes

0

Found in [Package]

1.5.4

Issue ID

LOC-1208

Regression

No

DropdownField value changes along with the Label string when switching Active Locale

Package: Localization Package

-

Reproduction steps:
1. Open the attached “IN-97881.zip” project
2. Go to Window > UI Toolkit > BugValueChanged
3. Go to Window > Asset Management > Localization Scene Controls
4. In the Localization Scene Controls window, switch the Active Locale between English and French
5. Observe the Console and the previously opened BugValueChanged window

Expected results: “Column 1” dropdown has a number value selected (1920 or 1600) in the BugValueChanged window, and “Value has changed: 1920, if it's not a number, that is a bug.” log is visible in the Console
Actual results: “Column 1” dropdown has a string value selected (“Column 1”) in the BugValueChanged window, and “Value has changed: Column 1, if it's not a number, that is a bug.” log is visible in the Console

Reproducible with: 1.5.0-pre.1, 1.5.4 (6000.0.44f1, 6000.1.0b12, 6000.2.0a7)
Couldn’t test with: 1.4.5 (2022.3.60f1, 6000.0.44f1, 6000.1.0b12, 6000.2.0a7), 1.5.4 (2022.3.60f1) (The Localization binding did not work for testing)

Reproducible on: Windows 11
Not reproducible on: no other environment tested

  1. Resolution Note:

    The example script was responding to ChangeEvent<string> sent from the label, causing it to assign the value to the dropdownfield. Change events should be filtered using the target.

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.