Copyright | (c) 2018-2019 Kowainik |
---|---|
License | MPL-2.0 |
Maintainer | Kowainik <xrom.xkov@gmail.com> |
Safe Haskell | None |
Language | Haskell2010 |
This module contains function to validate Form fields.
Synopsis
- ctrlD :: KitForm e -> KitForm e
- summonFormValidation :: forall e. [FilePath] -> KitForm e -> KitForm e
- formErrorMessages :: [FilePath] -> KitForm e -> [String]
- handleAutofill :: KitForm e -> KitForm e
- projectDescNewLine :: KitForm e -> KitForm e
Documentation
summonFormValidation :: forall e. [FilePath] -> KitForm e -> KitForm e Source #
Validates the main new
command form.
formErrorMessages :: [FilePath] -> KitForm e -> [String] Source #
Returns list of error messages according to all invalid fields.
handleAutofill :: KitForm e -> KitForm e Source #
projectDescNewLine :: KitForm e -> KitForm e Source #
Adds a newline for project description.