Hey,
I have a form which includes a couple of combo boxes where a user selects a product family. The form also has a gallery with a combo box where the user can select multiple products for the selected product family.
When a user has selected a product in the gallery and then decided to change the product family selection, how do I then reset the combo box in the gallery?
I have tried adding the following code to cmb_ProductFamily OnChange: (but none of them clear the combo box)
Reset(cmb_ProductLine);
Reset(gal_RequestedProducts);
Please help 🙂
Solved! Go to Solution.
Hi @JimJim ,
Set a Variable on the OnChange
UpdateContext({varReset:true});
UpdateContext({varReset:false})
and set the Reset of the Combo Box to
varReset
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps
Hi @JimJim ,
Set a Variable on the OnChange
UpdateContext({varReset:true});
UpdateContext({varReset:false})
and set the Reset of the Combo Box to
varReset
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps
edit: This work great, thank you
User | Count |
---|---|
261 | |
110 | |
89 | |
53 | |
44 |