File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -173,3 +173,11 @@ exports.checkValidity = function (form) {
173
173
return form . checkValidity ( ) ;
174
174
} ;
175
175
} ;
176
+
177
+ // ----------------------------------------------------------------------------
178
+
179
+ exports . reportValidity = function ( form ) {
180
+ return function ( ) {
181
+ return form . reportValidity ( ) ;
182
+ } ;
183
+ } ;
Original file line number Diff line number Diff line change @@ -90,3 +90,4 @@ foreign import length :: HTMLFormElement -> Effect Int
90
90
foreign import submit :: HTMLFormElement -> Effect Unit
91
91
foreign import reset :: HTMLFormElement -> Effect Unit
92
92
foreign import checkValidity :: HTMLFormElement -> Effect Boolean
93
+ foreign import reportValidity :: HTMLFormElement -> Effect Boolean
You can’t perform that action at this time.
0 commit comments