The Gallery employs the nested If statements below for it’s Items property. We already know that due to the resets, only the Dropdowns or the Text Input box can have a value at any one time
If the Text Input box contains a value, then this is used for the Gallery. If only the first Dropdown has a value then this is used for the Gallery instead. Finally, if the second Dropdown has a value, then a particular country has been selected and this is used to present a single record in the Gallery