def getFormattedValue(self):
        warn('deprecated', DeprecationWarning)

        v = self.getValue()
        if v is None:
            return None
        return str(v)
Validate that a given value is a valid option for a given model instance.
dataset/ETHPy150Open rwl/muntjac/muntjac/ui/abstract_text_field.py/AbstractTextField.getFormattedValue--crossover with--dataset/ETHPy150Open rbarrois/django_xworkflows/django_xworkflows/models.py/StateField.validate