Textinput: Remove trailing comma from autogrow

Fixes gh-7171

Sorry, @arschmitz! I didn't notice that you had assigned #7171 to yourself!