0

I have added this custom Combo Box to a form inside my Power App form:-

enter image description here

enter image description here

and i am trying to always get the ID of the selected item inside Input field,, so inside the input i defined this inside Update property:-

enter image description here

now this will work as long as i manually select an option inside the Combo Box, but when the form loaded and the default get set for the Combo box >> the value inside the Input field will be blank.. any idea how i can fix this issue? Thanks

1 Answer 1

0

It's probably blank because your ThisItem.StoreID is also blank.

enter image description here

Not really an answer but one way to find out:

  1. Run again the form the start until the value inside the input field is blank, and don't click anything except the close (x) top-right corner.
  2. Now, open your DefaultSelectedItems code focus on ThisItem.StoreID, put the cursor on the StoreID and you'll roughly know what's the value below Format text.

enter image description here

Tips: At any point of time you close (x) the form on the top-right corner, the variable values will be filled up upon writing the code. That will give you a rough idea of what to expect.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.