Fix TextBox documentation

Same as #1036, in master