We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c948a85 commit 6962282Copy full SHA for 6962282
components/combobox/combobox.jsx
@@ -751,6 +751,17 @@ class Combobox extends React.Component {
751
};
752
753
handleInputSubmit = (event) => {
754
+ if (
755
+ this.state.activeOption === undefined &&
756
+ this.state.activeOptionIndex === -1
757
+ ) {
758
+ if (this.state.isOpen === false) {
759
+ if (!event.shiftKey) {
760
+ this.openDialog();
761
+ }
762
+ } else this.handleRequestClose(event, {});
763
764
+
765
if (this.state.activeOption && this.state.activeOption.disabled) {
766
return;
767
}
0 commit comments