clearButton: Depend solely on textinput.
autogrow: Depend solely on textinput.
Unit tests: Individual modules: Add textinput test. Re: #5987.