We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d195d2 commit 6e427a1Copy full SHA for 6e427a1
src/Formless.purs
@@ -11,6 +11,7 @@ module Formless
11
, validateM
12
, FormContext
13
, FormConfig
14
+ , OptionalFormConfig
15
, FormQuery(..)
16
, FormState
17
, FormAction
@@ -144,12 +145,7 @@ type FieldOutput :: Type -> Type -> Type -> Type
144
145
type FieldOutput input error output = output
146
147
-- | Available settings for controlling the form's behavior.
-type FormConfig =
148
- { validateOnBlur :: Boolean
149
- , validateOnChange :: Boolean
150
- , validateOnModify :: Boolean
151
- , validateOnMount :: Boolean
152
- }
+type FormConfig = { | OptionalFormConfig }
153
154
type InitialFormConfig :: Row Type -> Type -> Type
155
type InitialFormConfig fields action =
0 commit comments