added setting for enabling the select2 widget