cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
RMA13
Level: Powered On

Update default SeletedItems ComboBox On changing id on a form control

Hi !

I have a form on my app (based on SP list) with several comobox : the displaymode of the form is edit or view, depends of the item i can change thanks to a variable.

When the displaymode is edit, i can change the combobox value for an item, and submit form. My SP list is correctly impacted.

When i set the variable to display an other the item, the value of the database for this item is correctly report on the combobox field.

But when i come back on my previous item, the default SelectedItems of the combobox i patch few seconds before is now the value of the last item i saw...

Have you a solution for this default / DefaultSelectedItems issue ?

Thks a lot

Rémi

1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User
Dual Super User

Re: Update default SeletedItems ComboBox On changing id on a form control

I think your problem is that the default value for the ComboBox is ignored after the ComboBox control has been set to a specific value.  To get it to pick up the default again you have to do a reset(ComboboxName).  After that it should revert to the default value.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

2 REPLIES 2
Dual Super User
Dual Super User

Re: Update default SeletedItems ComboBox On changing id on a form control

I think your problem is that the default value for the ComboBox is ignored after the ComboBox control has been set to a specific value.  To get it to pick up the default again you have to do a reset(ComboboxName).  After that it should revert to the default value.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

RMA13
Level: Powered On

Re: Update default SeletedItems ComboBox On changing id on a form control

It's work 🙂 Thanks a lot !!

Rémi

Helpful resources

Announcements
thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (5,588)