added autofocus to input on dropdowns and added functionality to cancel search value on closing the dropdown

changed the name of the constant in ComponentDropdown