I'm customizing a SharePoint edit form with powerapps. When I open the record it displays the correct data in all the fields. I've added an additional dropdown field [SelectedDescription] that displays choices from another lookup list. I want to select an appropriate choice in that dropdown field and have it populate other text fields in the form already populated by its default value when opened.
My lookup list [Order Parts Lookup] has the following fields: Description, Part Number, and Master. The [SelectedDescription] dropdown pulls values from the Description column of OPL. I have all this working so far.
On a button push I want to replace the Description, Part Number, and Master text input field values on the form with that of the selection I have made in the dropdown field.
Form.Description = OPL.Description
Form.Part Number = OPL.Part Number
Form.Master = OPL.Master
I'm having trouble getting the input fields to populate with the lookup field data. On the [OnSelect] property of the button I have the following so far:
DataCardValue13.Text = SelectedDescription.Selected.Description