I have a person or group column in SharePoint which is used in Powerapps. The Items property of this column is set to Choices([@'Data Source'].Appuser).
I amended the Items property of the above column to only show Finance users
Filter( Office365Users.SearchUser({searchTerm: DataCardValue17.SearchText,top:500}),
Department = "Finance and Payroll"
)
This works fine which only shows finance users, however when i save particular record using SubmitForm(), the above field doesn't get saved into the datasource.
If i revert back the Items property of the datasource to Choices([@'Data Source'].Appuser), above field gets saved successfully.
May I know where I am going wrong?