fix #2048 autosave edittext

fix #2048 autosave edittext
demo: https://cloudup.com/cwprpfKkMFg
TIL: Until I saw this code I didn't realize that view.getParent() isn't necessarily a View!