thisisdajaaa / codev-feedback-system

Codev's internal feedback system created using React.js, Typescript, TailwindCSS, Next.js, Storybook, MongoDB, Redux, Express.js
https://codev-feedback-system.vercel.app
2 stars 0 forks source link

Bug - “title must be a trimmed string” error is displayed when there is a space at the end and beginning of a survey title #122

Closed marycastino closed 1 year ago

marycastino commented 1 year ago

Steps to Reproduce

  1. Log in as a surveyor
  2. Create a new survey
  3. Enter a title and try to add a space either in the beginning and/or end of the title
  4. Notice that an error message is displayed

Expected Result Trimming of the title is handled in the backend

Actual Result An error message is displayed when a title is not trimmed

Image/Recording: Image

thisisdajaaa commented 1 year ago

requesting for retest @aubreyCast