Commit 2595cfa
Marc Sutton
Add support for form reset buttons
If the user clicks the form reset button then force the status of the form to be set to clean. The change event is called but we can't use that, or bind reset to checkForm, because the form values are not reset until after the change and reset events have triggered.1 parent c0c3fc2 commit 2595cfa
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
89 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
90 | 94 | | |
91 | 95 | | |
92 | 96 | | |
| |||
113 | 117 | | |
114 | 118 | | |
115 | 119 | | |
| 120 | + | |
116 | 121 | | |
117 | 122 | | |
118 | 123 | | |
0 commit comments