In my app, I have a search bar, which filters the options in a related selectizeInput. When a user types something into the search bar and clicks the search icon / presses enter, I want the choices in the below dropdown to be shown (similar to if I had clicked on the selectizeInput), so it's clear to the user that their search was processed.
I have tried the .click method, and have tried using the selectize API method described here. However, the code provided in the latter example is so minimal that I can't seem to replicate it.
I have pasted a MWE below. I am open to any method that will simulate "clicking and expanding" the below dropdown when a search is entered. This is my first time posting, so I apologize if I have missed anything! Your help is greatly appreciated!