下拉列表未填充变量的值

Dropdown doesn't fill with values from variable

我有 2 个下拉列表和 2 个变量:DropdownSectionDropdownEmployeeDropdownSection 填充了变量 SectionWithBlank 中的值,即来自 SP 列表。我的 OnVisible 操作:
ClearCollect(SectionWithBlank,{Title:""}); Collect(SectionWithBlank,Distinct(ops_tc2_wydzialy, Title))

这很好用。现在我根据在 DropdownSection[ 中选择的值填充我的 EmployeeWithBlank 变量。 =45=]。我的 OnChange 事件在 DropdownSection 中:ClearCollect(EmployeeWithBlank, {Title:""}); Collect(EmployeeWithBlank, Distinct(Filter(ops_tc2_pracownicy_1, wydzial=Dropdown1.Selected.Value), imie & " " & nazwisko)).

当我在 DropdownSection 中选择某些内容时,我的 DropdownEmployee 仅包含空值(例如,当我在变量中获得 5 个值时(EmployeeWithBlank),我的 DropdownEmployee 有 5 个空值)。当我转到 View -> Collections 时,我的 EmployeeWithBlank 变量包含正确的值(不是空的)。

您的 DropdownEmployee 控件可能未正确绑定到 EmployeeWithBlank 集合,或者在 table 中显示具有空白值的不同字段。

要检查,select 下拉菜单。在右侧的 属性 窗格中选择 "Advanced",并在数据部分下确保: 1. Items设置为EmployeeWithBlank 2. 要在下拉列表中显示的内容的正确列名是 selected in Values (screenshot)