Hello,
Needing help, screenshots included.
I have a form I am creating for Timesheets. When entering time worked, the user enters the project number, activity type, and hours for each day. These details and hours are loaded into a collection which displays below after the user selects Add Row. Then the fields empty (reset) themselves for a new row to be entered. However, I need the ability for users to edit existing entries as well. I would prefer that if they select the edit button (OnSelect) it loads that rows values (ThisItem.fieldName), back into the form control fields (3 drop downs, and 7 value fields) and then delete the item from the collection, so that it can be edited and re-added.
However, I cannot find a way so that when OnSelect is enacted the form fields are updated to the values of the ThisItem values.
Showing Timesheet page, with arrows indicating the info that needs to be loaded back into form fields on select of edit button

r/PowerApps - Showing OnSelect Attempt with Edit Button
Troubleshooting/Updates:
Following additional research, I read that a form field can only be controlled by using variables with Default values established representing those variables.
I have established a variable to test with, however it is not working to enable me to set one of the form fields (Project Number) to the value of ThisItem.ProjectNumber.
Variable: varNewTS_EditLineItem_PrjNumShort
In the DefaultSelectedItems of the form field drop down for project number, I tried setting the default value to the variable when it is not blank. I tried with [], with {}. and with [{}] without success. While I have had other fields which accepted this functionality, of defaultSelectedItems, these (upon OnSelect of edit and in conjunction with the Reset function on the form field) would not load the value within the variable. I did see however that the variable itsemf was being successfully loaded, as it's value would display the project number. It just wouldn't load itself into the drop down field on reset it seemed.

On Select of the edit button it successfully sets the variable to the ThisItem.ProjectNumberShort value. The variable set would show the project value OnSelect of edit, however the form field would not change to populate with the value.
The variable loads OnSelect of the edit button. However, even though I use the reset function to attempt to reflect this value in the dropdown, it doesn't show up there.