Dropdown only shows table after 1st time choosing [SOLVED]

Hello all,

I have a dropdown that displays a different price table with each dropdown option choice. It will have the last option you chose as the placeholder, and you can choose all of the options but the table just doesn’t display. Is there away around this? Maybe something I can add to the code or even a setting I chose incorrectly (although I’ve check all of that). Thanks so much for the help! I’ll link the page URL and there is a video attached demonstrating the problem. Let me know if you need any more info.

Still having the problem after more troubleshooting, any thoughts? ~Thanks

Hi Sadie :slight_smile:

Notice that the testuparrowmd_click function hides the table elements.
Then when you try to expand() the tables, they do expand, however they remain hidden.

Try replacing the hide() calls with collapse() and it should solve the problem:

export function testuparrowmd_click(event, $w) {
	//Add your code for this event here: 
	$w("#marylandcountydropddown").collapse();
	$w("#testuparrowmd").hide();
	$w("#MdDownArrow").show();
	$w("#VAbox").show();
	$w("#DCbox").show();
	$w("#AnneArundel").collapse();
	$w("#baltimore").collapse();
	$w("#baltimoreCITY").collapse();
	$w("#Calvert").collapse();
	$w("#Carroll").collapse();
	$w("#charles").collapse();
	$w("#frederick").collapse();
	$w("#harford").collapse();
	$w("#howard").collapse();
	$w("#montgomery").collapse();
	$w("#PrinceGeorges").collapse();
	$w("#Washington").collapse();
}

That worked, thank you!