Added a watch function to ensure the dropdown box is closed after clicke...

...d