Re: How to transfer data from previous screens that are not in dropdown boxes?
For storing this type of information, you can use a variable. In this case, you can send the selected commodity to the next screen using a context variable.
To achieve this, you would use an OnSelect property for your "Avocado" button like this:
Navigate('Edit Details Screen', Transition.None, { varCommodity: "Avocado" })
Then, on the page with your form, in the Default property of your commodity dropdown, you can use the following logic:
If(!IsBlank(varCommodity), varCommodity, ThisItem.Commodity)
You would apply similar logic in each of your buttons to change the default commodity type as needed.
Hope this explanation is helpful!
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Cheers!
Rick Hurt