Remove the "required" attribute from the search field instead of trying to cancel the "invalid" event.
Remove the "required" attribute from the search field instead of trying to cancel the "invalid" event.

codeart/chosen-awesome-rails