Textinput: remove unused varibles and use prop instead of attr for disabled