diff --git a/app/components/InputSelect.tsx b/app/components/InputSelect.tsx index ee0960ee7..f420af385 100644 --- a/app/components/InputSelect.tsx +++ b/app/components/InputSelect.tsx @@ -145,6 +145,10 @@ const InputSelect = (props: Props, ref: React.RefObject) => { React.useEffect(() => { previousValue.current = value; + + // Update the selected value if it changes from the outside – both of these lines are needed + // for correct functioning + select.selectedValue = value; select.setSelectedValue(value); }, [value]);