Don't allow file upload on textfields

@maethu please review.