Merge pull request #467 from amje/patch-1 · final-form/final-form@db16fb8

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit db16fb8

authored

Merge pull request #467 from amje/patch-1

Revert validator `allValues` optional argument

2 parents 27490ec + 78604ff commit db16fb8

File tree

1 file changed

+

1

-

1

lines changed

1 file changed

+

1

-

1

lines changed

Lines changed: 1 addition & 1 deletion

Original file line numberDiff line numberDiff line change

@@ -136,7 +136,7 @@ export type Unsubscribe = () => void;

136136
137137

export type FieldValidator<FieldValue> = (

138138

value: FieldValue,

139-

allValues?: object,

139+

allValues: object,

140140

meta?: FieldState<FieldValue>

141141

) => any | Promise<any>

142142

export type GetFieldValidator<FieldValue> = () =>

0 commit comments

Comments

 (0)