This commit is contained in:
Feenix
2022-12-27 12:15:16 +05:30
parent 60d126b021
commit 779701e95f
3 changed files with 49 additions and 16 deletions

View File

@@ -189,7 +189,10 @@ function LeftPaneImageSteps({
IndicatorSeparator: () => null,
DropdownIndicator: () => null,
}}
onChange={handleModelChange}
onChange={(e) => {
handleModelChange(e);
setCurrentModel({ label: e.label, value: e.value });
}}
className="react-select-container"
classNamePrefix="react-select"
value={currentModel}