function AsyncFormField () {
const [value, setValue] = useState('');
const [dirty, setDirty] = useState(false);
const [errors, setErrors] = useState([]);
const HasChanged = e => {
e.preventDefault();
const { label, required = false, validator = (f) => f, onStateChanged = (f) => f } = this.props;
const value = e.target.value;
const isEmpty = value.length === 0;
const requiredMissing = dirty && required && isEmpty;
let error = [];