Skip to content

Commit

Permalink
feat: add is equal check for final form (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
bocembocem authored Jun 10, 2024
1 parent d504f82 commit c918c71
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/core/components/Form/hooks/useIntegrationFF.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React from 'react';

import debounce from 'lodash/debounce';
import get from 'lodash/get';
import isEqual from 'lodash/isEqual';
import isFunction from 'lodash/isFunction';
import values from 'lodash/values';
import {Field as FinalFormField, useForm} from 'react-final-form';
Expand Down Expand Up @@ -37,6 +38,7 @@ export const useIntegrationFF = (store: DynamicFieldStore, withoutDebounce?: boo

return error;
},
isEqual,
};

return <FinalFormField {...props} />;
Expand Down

0 comments on commit c918c71

Please sign in to comment.