diff --git a/packages/ra-ui-materialui/src/input/SelectInput.tsx b/packages/ra-ui-materialui/src/input/SelectInput.tsx index 0701bbdcf33..c9916918ab2 100644 --- a/packages/ra-ui-materialui/src/input/SelectInput.tsx +++ b/packages/ra-ui-materialui/src/input/SelectInput.tsx @@ -245,7 +245,7 @@ SelectInput.propTypes = { allowEmpty: PropTypes.bool.isRequired, emptyText: PropTypes.oneOfType([PropTypes.string, PropTypes.element]), emptyValue: PropTypes.any, - choices: PropTypes.arrayOf(PropTypes.object).isRequired, + choices: PropTypes.arrayOf(PropTypes.object), classes: PropTypes.object, className: PropTypes.string, label: PropTypes.string,