From df3130ad4630c721645e76c73ef8d3e590f5a7b9 Mon Sep 17 00:00:00 2001 From: Gildas Garcia Date: Mon, 30 Sep 2019 17:31:11 +0200 Subject: [PATCH] Fix SelectInput warnings --- packages/ra-ui-materialui/src/input/SelectInput.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,