We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59136fc commit e0b66d6Copy full SHA for e0b66d6
1 file changed
src/FormToolkit/Field.elm
@@ -1303,7 +1303,11 @@ isBlank input =
1303
{-| Check all contained inputs and display errors for failed validations.
1304
-}
1305
validate : Field id -> Field id
1306
-validate (Field node) =
+validate field =
1307
+ let
1308
+ (Field node) =
1309
+ touch field
1310
+ in
1311
node |> validateTree |> Field
1312
1313
0 commit comments