def validate(self, value, model_instance):
        """
        :param callable convert: A callable to be applied for each choice
        """
        arr_choices = self.get_choices_selected(self.get_choices_default())
        for opt_select in value:
            if opt_select not in arr_choices:
                raise ValidationError(
                    self.error_messages['invalid_choice'] % value)
        return
dataset/ETHPy150Open chhantyal/dj-dynamic-forms/dynamic_forms/fields.py/TextMultiSelectField.validate/original