Skip to content

Commit c918c71

Browse files
authored
feat: add is equal check for final form (#203)
1 parent d504f82 commit c918c71

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib/core/components/Form/hooks/useIntegrationFF.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import React from 'react';
22

33
import debounce from 'lodash/debounce';
44
import get from 'lodash/get';
5+
import isEqual from 'lodash/isEqual';
56
import isFunction from 'lodash/isFunction';
67
import values from 'lodash/values';
78
import {Field as FinalFormField, useForm} from 'react-final-form';
@@ -37,6 +38,7 @@ export const useIntegrationFF = (store: DynamicFieldStore, withoutDebounce?: boo
3738

3839
return error;
3940
},
41+
isEqual,
4042
};
4143

4244
return <FinalFormField {...props} />;

0 commit comments

Comments
 (0)