added a minimum input length option in select2 integration