I'm getting this error (React.cloneElement(...): The argument must be a React element, but you passed undefined.) in my combobox when the options changes. The use case is I have a LabeledSelect and a ComboBox. Depending on the selection from the LabeledSelect, the ComboBox options changes.
Describe the bug (actual behavior)
I'm getting this error (React.cloneElement(...): The argument must be a React element, but you passed undefined.) in my combobox when the options changes. The use case is I have a LabeledSelect and a ComboBox. Depending on the selection from the LabeledSelect, the ComboBox options changes.
Expected behavior
ComboBox options should change.
Reproduction
Please see: https://codesandbox.io/s/combobox-h4f9u
Steps to reproduce
Additional information