We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d6eea3 commit 6b3ac31Copy full SHA for 6b3ac31
1 file changed
src/formStateTable.tsx
@@ -49,6 +49,19 @@ const FormStateTable = ({
49
{formState.isValid ? 'true' : 'false'}
50
</td>
51
</tr>
52
+ <tr>
53
+ <td align="right" style={{ ...paraGraphDefaultStyle }}>
54
+ Dirty:
55
+ </td>
56
+ <td
57
+ style={{
58
+ color: formState.isDirty ? colors.green : colors.lightPink,
59
+ ...paraGraphDefaultStyle,
60
+ }}
61
+ >
62
+ {formState.isDirty ? 'true' : 'false'}
63
64
+ </tr>
65
<tr>
66
<td align="right" style={{ ...paraGraphDefaultStyle }}>
67
Submitted:
0 commit comments