Create 1 char limit def for textinput.