This repository was archived by the owner on Sep 1, 2024. It is now read-only.
This repository was archived by the owner on Sep 1, 2024. It is now read-only.
Proptypes validation of shape inside an array #181
Closed
Description
We have an array of objects and when try to validade the shape of the object inside that array, it seems to ignore that validation.
data: PropTypes.arrayOf(PropTypes.shape({
someValue: PropTypes.bool
})
if we change PropTypes.bool in the sample above for PropTypes.potato, like below:
data: PropTypes.arrayOf(PropTypes.shape({
someValue: PropTypes.potato
})
We don't receive any kind of message about the error.
Metadata
Metadata
Assignees
Labels
No labels