Set maxlength on todo input