Disclaimer: I'm a relative newbie on PowerApps and muddling my way through but I can't find the solution to this, though I have seen some people with similar errors but not exactly the same. I'm sure I'm probably missing something very simple.
I'm creating an app to update a sharepoint list, my Patch function works until I try to add on one of the drop downs.
This works:
Patch(Form, Defaults(Form), {'Full Name':InputFullNameSI.Text, 'Email Address': InputEmailSI.Text, 'Line Manager': InputLMNameSI.Text, LineManagerEmail: InputLMEmailSI.Text})
This doesn't:
Patch(Form, Defaults(Form), {'Full Name':InputFullNameSI.Text, 'Email Address': InputEmailSI.Text, 'Line Manager': InputLMNameSI.Text, LineManagerEmail: InputLMEmailSI.Text, Service: dpdServiceSI.Selected.Text})
The error I get is:
The type of this argument 'wm0l' does not match the expected type 'Text'. Found type 'Error'.
I have tried changing it to Selected.Value at the end with the same error. I don't really understand what it's referring to by 'wm0l'.
Edit: That drop down in particular is populated by another SharePoint list to create a cascading dropdown, which is the only thing I can think is different between this dropdown and another which is populated from the 'Items' function (and the Patch works with this).
Any ideas what I've done wrong?