Editor for textfields is not working