diff --git a/lib/packages/shared-types/forms.ts b/lib/packages/shared-types/forms.ts index ea0630740a..95c9897a94 100644 --- a/lib/packages/shared-types/forms.ts +++ b/lib/packages/shared-types/forms.ts @@ -206,7 +206,8 @@ type Effects = } | { type: "setValue"; - newValue: unknown; + newValue: string | string[]; + fieldName: string; }; export interface DependencyRule { diff --git a/react-app/src/components/RHF/SlotField.tsx b/react-app/src/components/RHF/SlotField.tsx index 0fda2f0b61..c6a4e9569d 100644 --- a/react-app/src/components/RHF/SlotField.tsx +++ b/react-app/src/components/RHF/SlotField.tsx @@ -95,8 +95,6 @@ export const SlotField = ({ : a.label.localeCompare(b.label), ); - console.log("props.customSort", props?.customSort); - return (