In my drop down there is cross button if i will click this there will not be any selected text in input so search will return error.
add this
<input type="dropdown" token="sourcetype_tok"> <showClearButton>false</showClearButton>