I am using custom filter with autocomplete feature in active admin and i have done this.
filter :user_id_eq, as: :string, input_html: { class: \