set method generic to dropdown/autocomplete/obj