0
votes

I am trying to make a form in powerapps that has a custom dropdown as a selection. I have 2 lists that are connected to powerapps, Courses and Departments.

I am trying to make a form that adds an entry to Courses but I cant get it to add data from a dropdown list that is reading from the Departments list. If I do DropDown1.SelectedText.Value it shows the value I have selected. Does anyone have any ideas?

Edit:

Code of submit button:

SubmitForm(AddCourseForm);
NewForm(AddCourseForm);
Refresh(AXT_Bookings)

Code of drop down box:

SortByColumns(Distinct(Sections, Title), "Result")

Here are pictures of my code. The drop down is under a data card. enter image description here

enter image description here

1

1 Answers

0
votes

I hope I'm not too late, but have you tried the patch function?

I can't explain why the submit doesn't work, but try this:

Patch(list,item(perhaps with lookup),{Column: Dropdown.SelectedText});

BR Marcel