roshanrajeev / neeto-ui-challenge-by-roshan

https://wheel-production.neetoreviewapp.net/
MIT License
0 stars 0 forks source link

Add validations to underlying data structure in all schema #32

Open roshanrajeev opened 1 year ago

roshanrajeev commented 1 year ago

Make sure you validate the underlying data structure in the validation schema. https://github.com/roshanrajeev/neeto-ui-challenge-by-roshan/blob/d97edaab253c98a83981f198f7858b70411e96ca/app/javascript/src/components/Dashboard/Notes/constants.js#L41-L46 Here it is supposed to be an array of objects with labels and values assuming string values.

Originally posted by @navaneethsdk in https://github.com/roshanrajeev/neeto-ui-challenge-by-roshan/issues/26#issuecomment-1748478633