I am trying to get the input cleared is a user clicks on one of the options. What is happening now is that the filtered text does not clear therefore clicking on the option