Open roshanrajeev opened 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
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