Hi Nayana Sonawane,
I tried to replicate your scenario and I was able to use the DropdownSearch widget but found an issue while testing using the Preview of Outsystems. But using my own device or accessing the app on the browser without the Outsystems Preview worked.
Was that your case? Were you using the Outsystems Preview to test the app?
Attached is the sample that I've used to test.