Hi @StuCundy ,
Does the New added option value show up within the HostOwner Dropdown box properly?
If the new added option value still could not show up within the HostOwner Dropdown box properly, I think this issue is related to Delegation.
Currently, the Distinct function is not a Delegable function in PowerApps canvas app, so the Distinct(HOSTFAMILIES,Owner.Value) formula could only process first 2000 records of your SP List at most locally. If the new added List Item (with the new added Owner Option value) is more than 2000, the Distinct(HOSTFAMILIES,Owner.Value) formula would ignore it.
In addition, there is also an known limit with the Collect or ClearCollect function -- You could only retrieve 2000 records at most once time from other data source into a collection. So if the records the
Filter(HOSTFAMILIES, TypeOfStay = HostTypeDD.Selected.Result)
formula returned is more than 2000, it could only collect first 2000 records into your ColHostsbyStayType collection.
Note: If the new Owner option could be shown up properly in your HostOwner Dropdown box, please ignore above reply😉.
Based on the screenshot that you provided, I think you are submitting the form data back to your SP List, is it true? Could you please share a bit more about the HostTitle field in your SP list, is it a Text type field or Choice type field?
If the HostTitle field is a Text type field in your SP list, please set the Update property of the HostTitle data card to following:
HostTitleComboBox.Selected.HostTitle
If the HostTitle field is a Choice type field in your SP list, please set the Update property of the HostTitle data card to following:
{
Value: HostTitleComboBox.Selected.HostTitle.Value
}
If you want to use Patch function to submit your data back to your SP List, please try the following formula:
Patch(
HOSTFAMILIES,
Defaults(HOSTFAMILIES),
{
Title: "xxxxx",
...,
HostTitle: HostTitleComboBox.Selected.HostTitle, // HostTitle is Text type column
....
}
)
or
Patch(
HOSTFAMILIES,
Defaults(HOSTFAMILIES),
{
Title: "xxxxx",
...,
HostTitle: {
Value: HostTitleComboBox.Selected.HostTitle.Value // HostTitle is Choice type column
},
....
}
)
Best regards,