How to reproduce:
1. Open the attached “uibuilder_databinding_issue” project
2. Open the UI Builder window (Window > UI Toolkit > UI Builder)
3. In the UI Builder, open “MyDocument” (Click the project button and navigate to “Assets/Mydocument.uxml”, right-click > open in UI builder)
4. Select the Label in the UI Builder hierarchy
5. In the UI Builder Inspector, right-click the “Text” field and select “Add binding”
6. Select “Type” in the newly opened window and type “AnotherDataSource” in the field just below the button
7. Select the “Data Source Path” field and observe the results
Expected result: Data Source Path suggests fields belonging to “AnotherDataSource”
Actual result: Data Source Path suggests fields belonging to “MyDataSource”
Reproducible in: 2023.2.4f1, 2023.3.0b1
Could not test with: 2021.3.34f1, 2022.3.17f1 (feature does not exist)
Reproducible on: macOS 14.0, Windows 11
Not reproducible on: No other environments tested