def process_formdata(self, valuelist):
        if valuelist:
            if valuelist[0] == '__None':
                self.data = None
            else:
                try:
                    self.data = self.coerce(valuelist[0])
                except __HOLE__:
                    raise ValueError(self.gettext(u'Invalid Choice: could not coerce'))
dataset/ETHPy150Open flask-admin/flask-admin/flask_admin/form/fields.py/Select2Field.process_formdata