profile edit, default values fix

This commit is contained in:
feruz 2019-12-19 20:35:31 +02:00
parent 33991844e7
commit 5b20ad79f8

View File

@ -47,10 +47,12 @@ const FormInputView = ({
// TODO: Workaround for android context (copy/paste) menu, check react-navigation library // TODO: Workaround for android context (copy/paste) menu, check react-navigation library
useEffect(() => { useEffect(() => {
setValue(' '); if (!value) {
setTimeout(() => { setValue(' ');
setValue(''); setTimeout(() => {
}, 1); setValue(value || '');
}, 0);
}
}, []); }, []);
useEffect(() => { useEffect(() => {