Module

Formless.Internal.Component

Package
purescript-halogen-formless
Repository
thomashoneyman/purescript-halogen-formless

#getPublicState Source

getPublicState :: forall form st m. Lacks "internal" st => State form st m -> PublicState form st

#preSubmit Source

preSubmit :: forall form st act ps msg m fs fxs os vs. MonadAff m => RowToList fs fxs => AllTouched fxs fs => SetFormFieldsTouched fxs fs fs => ValidateAll vs fxs fs fs m => FormFieldToMaybeOutput fxs fs os => ValidateAll vs fxs fs fs m => Newtype (form Record FormField) (Record fs) => Newtype (form Record OutputField) (Record os) => Newtype (form Record (Validation form m)) (Record vs) => HalogenM form st act ps msg m Unit

#submit Source

submit :: forall form st act ps msg m fs fxs os vs. MonadAff m => RowToList fs fxs => AllTouched fxs fs => SetFormFieldsTouched fxs fs fs => ValidateAll vs fxs fs fs m => FormFieldToMaybeOutput fxs fs os => ValidateAll vs fxs fs fs m => Newtype (form Record FormField) (Record fs) => Newtype (form Record OutputField) (Record os) => Newtype (form Record (Validation form m)) (Record vs) => HalogenM form st act ps msg m (Maybe (form Record OutputField))