From 54af0ca52d9358ac84ec9ba834f912b793adf282 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Wed, 14 Jun 2023 07:03:49 +0300 Subject: [PATCH] Allow array of string as value in EnhancedSelectInput (cherry picked from commit 6816767fad9e4e839e77c5fe40aece97033cd052) --- frontend/src/Components/Form/EnhancedSelectInput.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/Components/Form/EnhancedSelectInput.js b/frontend/src/Components/Form/EnhancedSelectInput.js index 709eb740c..0c852c623 100644 --- a/frontend/src/Components/Form/EnhancedSelectInput.js +++ b/frontend/src/Components/Form/EnhancedSelectInput.js @@ -566,7 +566,7 @@ EnhancedSelectInput.propTypes = { className: PropTypes.string, disabledClassName: PropTypes.string, name: PropTypes.string.isRequired, - value: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.arrayOf(PropTypes.number)]).isRequired, + value: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.arrayOf(PropTypes.string), PropTypes.arrayOf(PropTypes.number)]).isRequired, values: PropTypes.arrayOf(PropTypes.object).isRequired, isDisabled: PropTypes.bool.isRequired, isFetching: PropTypes.bool.isRequired,