diff --git a/ui-core/src/components/Select.tsx b/ui-core/src/components/Select.tsx index 725fee398..0f484019c 100644 --- a/ui-core/src/components/Select.tsx +++ b/ui-core/src/components/Select.tsx @@ -1,4 +1,4 @@ -import React, { useState } from 'react'; +import React, { useEffect, useState } from 'react'; import cx from 'classnames'; @@ -44,6 +44,10 @@ const Select = ({ onChange(newSelectedOption); }; + useEffect(() => { + setSelectedOption(value); + }, [value]); + return (