I am trying to replicate the functionality of our ‘Find Bills & Acts’ widget dropdown functionality as per the following page link:


I have most of the interactivity working and am trying to replicate the stage where the selected text in the dropdown doesn’t change back to the default ‘Bills & Acts’ when the Dropdown arrow is clicked again.

Would someone  be able to advise on this interaction. Is there a variable needed?