Skip to content

Commit 5237673

Browse files
fliptaboadaerikras
authored andcommitted
Adding dirtySinceLastSubmit on FieldRenderProps (#127)
1 parent 2af66dc commit 5237673

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export interface FieldRenderProps {
2424
// TODO: Make a diff of `FieldState` without all the functions
2525
active: boolean
2626
dirty: boolean
27+
dirtySinceLastSubmit: boolean
2728
error: any
2829
initial: boolean
2930
invalid: boolean

src/types.js.flow

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export type FieldRenderProps = {
2525
// TODO: Make a diff of `FieldState` without all the functions
2626
active: boolean,
2727
dirty: boolean,
28+
dirtySinceLastSubmit: boolean,
2829
error: any,
2930
initial: boolean,
3031
invalid: boolean,

0 commit comments

Comments
 (0)