summoner-tui-0.1.0: Tool for scaffolding fully configured batteries-included production-level Haskell projects using TUI.

Safe HaskellNone
LanguageHaskell2010

Summoner.Tui.Validation

Description

This module contains function to validate Form fields.

Synopsis

Documentation

ctrlD :: KitForm e -> KitForm e Source #

Clears the Text fields by Ctrl + d key combination.

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.