fix select2 bug: required value validation is not working