Allow array of string as value in EnhancedSelectInput

(cherry picked from commit 6816767fad9e4e839e77c5fe40aece97033cd052)
pull/3827/head
Bogdan 1 year ago
parent 5f2cfe0f7c
commit 54af0ca52d

@ -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,

Loading…
Cancel
Save