diff --git a/src/frontend/src/components/forms/fields/RelatedModelField.tsx b/src/frontend/src/components/forms/fields/RelatedModelField.tsx index cf4836e3bb..ece395346b 100644 --- a/src/frontend/src/components/forms/fields/RelatedModelField.tsx +++ b/src/frontend/src/components/forms/fields/RelatedModelField.tsx @@ -115,7 +115,7 @@ export function RelatedModelField({ } // If the filters have changed, clear the data - if (_filters != filters) { + if (JSON.stringify(_filters) !== JSON.stringify(filters)) { resetSearch(); setFilters(_filters); }