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 3391b0d commit a870e86Copy full SHA for a870e86
1 file changed
apps/webapp/app/components/runs/v3/SharedFilters.tsx
@@ -1031,6 +1031,11 @@ export function IdFilterDropdown({
1031
const currentValue = value(paramKey);
1032
1033
const [inputValue, setInputValue] = useState(currentValue);
1034
+ const [prevOpen, setPrevOpen] = useState(open);
1035
+ if (open !== prevOpen) {
1036
+ setPrevOpen(open);
1037
+ if (open) setInputValue(currentValue);
1038
+ }
1039
1040
const apply = useCallback(() => {
1041
clearSearchValue();
0 commit comments