From eff1745e27facee8b4a641db55be94eabd8d7966 Mon Sep 17 00:00:00 2001 From: Max Sokolski Date: Fri, 18 Oct 2024 14:12:32 +0300 Subject: [PATCH] fix: course creation button is inactive When using Tab to move from Org field to the next Course number field the Org value is not saved. Closes https://github.com/openedx/frontend-app-authoring/issues/1199 for Redwood release. --- src/editors/sharedComponents/TypeaheadDropdown/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editors/sharedComponents/TypeaheadDropdown/index.jsx b/src/editors/sharedComponents/TypeaheadDropdown/index.jsx index 0938a00a5..48e3563cc 100644 --- a/src/editors/sharedComponents/TypeaheadDropdown/index.jsx +++ b/src/editors/sharedComponents/TypeaheadDropdown/index.jsx @@ -90,7 +90,7 @@ class TypeaheadDropdown extends React.Component { this.setValue(opt); this.setState({ displayValue: opt }); } else { - this.setValue(''); + this.setValue(value); this.setState({ displayValue: value }); } }