Skip to content

Commit 93c6cec

Browse files
committed
make optionText and optionValue propTypes optional, because it's optional in interfaces
1 parent a9ff078 commit 93c6cec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/ra-ui-materialui/src/input/SelectArrayInput.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,8 +382,8 @@ SelectArrayInput.propTypes = {
382382
PropTypes.string,
383383
PropTypes.func,
384384
PropTypes.element,
385-
]).isRequired,
386-
optionValue: PropTypes.string.isRequired,
385+
]),
386+
optionValue: PropTypes.string,
387387
disableValue: PropTypes.string,
388388
resource: PropTypes.string,
389389
source: PropTypes.string,

0 commit comments

Comments
 (0)