Hi,
my app contains multiple comboboxes linked to a sharepoint list, for example "monitor 1" and "monitor 2". The comboboxes only show items linked to a specific user from a people picker.
My problem now is, that if a user has only one monitor, both comboboxes show the same one. Is it possible to somehow check if one item is already selected in the first combobox and if yes don't show anything in the second one? And also for manually selecting, like if a user selects item 1 in combobox 1, they can't select item 1 in combobox 2?
This is my current code for default selected items in both "monitor" comboboxes:
If(
!IsBlank(UserField.SelectedItems);
Distinct(
Filter(
Monitors;
Status.Value = "Handed out" &&
Len(User.Email) > 0 &&
User.Email = UserField.Selected.Email
);
'Asset ID'
)
)