diff --git a/packages/react/src/components/ComboBox/ComboBox.js b/packages/react/src/components/ComboBox/ComboBox.js index 253f19ac76e2..3dc78259600c 100644 --- a/packages/react/src/components/ComboBox/ComboBox.js +++ b/packages/react/src/components/ComboBox/ComboBox.js @@ -188,7 +188,16 @@ export default class ComboBox extends React.Component { }; static getDerivedStateFromProps(nextProps, state) { - return { inputValue: getInputValue(nextProps, state) }; + const { prevSelectedItem, doneInitialSelectedItem } = state; + const { selectedItem } = nextProps; + if (!doneInitialSelectedItem || prevSelectedItem !== selectedItem) { + return { + doneInitialSelectedItem: true, + prevSelectedItem: selectedItem, + inputValue: getInputValue(nextProps, state), + }; + } + return null; } constructor(props) {