From b57b81c190fe874a3318e45aac091b7a1418bd76 Mon Sep 17 00:00:00 2001 From: Hendrik de Graaf Date: Tue, 26 Nov 2024 12:32:56 +0100 Subject: [PATCH] fix: prevent prop-types error by making tabIndex an optional prop (#1640) --- components/select/src/select/input-wrapper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/select/src/select/input-wrapper.js b/components/select/src/select/input-wrapper.js index 759c88d4e..c2346173d 100644 --- a/components/select/src/select/input-wrapper.js +++ b/components/select/src/select/input-wrapper.js @@ -100,13 +100,13 @@ const InputWrapper = ({ InputWrapper.propTypes = { dataTest: PropTypes.string.isRequired, inputRef: PropTypes.object.isRequired, - tabIndex: PropTypes.string.isRequired, onToggle: PropTypes.func.isRequired, children: PropTypes.element, className: PropTypes.string, dense: PropTypes.bool, disabled: PropTypes.bool, error: sharedPropTypes.statusPropType, + tabIndex: PropTypes.string, valid: sharedPropTypes.statusPropType, warning: sharedPropTypes.statusPropType, }