I'm using a combobox to filter records in a gallery. I want to be able to unselect all items in the combobox by using the Reset with the DefaultSelectedItems left blank. I want this combobox reset to happen whenever the "Show all records" button is pressed or when the Back button is pressed. The different options I've tried work in preview while I'm editing the app on the web but they do not work when the app is running normally. Here are a couple of the options I've tried.
1. Toggle a variable to reset the combobox.
ComboBox.Default =
ComboBox.Reset = reset_v
Button.OnSelect = UpdateContext({reset_v:true}); UpdateContext({reset_v:false})
2. Use the reset function.
ComboBox.Default =
Button.OnSelect = Reset(ComboBox)
I used this document for reference.
https://docs.microsoft.com/en-us/powerapps/functions/function-reset
Is there something that I'm missing in order to get this to work?