| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Miso.UI.Form
Synopsis
- data FormProps action = FormProps {
- formClasses :: [MisoString]
- formAttrs :: [Attribute action]
- defaultFormProps :: FormProps action
- data FieldProps model action = FieldProps {
- fieldId :: Maybe MisoString
- fieldLabel :: Maybe (View model action)
- fieldDescription :: Maybe (View model action)
- fieldClasses :: [MisoString]
- fieldAttrs :: [Attribute action]
- defaultFieldProps :: FieldProps model action
- form_ :: FormProps action -> [View model action] -> View model action
- field_ :: FieldProps model action -> [View model action] -> View model action
- formUsage :: View model action
- formSample :: View model action
- formCodeSample :: View model action
- formPropsApi :: View model action
Props
data FormProps action Source #
Props for form_
Constructors
| FormProps | |
Fields
| |
defaultFormProps :: FormProps action Source #
Smart constructor: vertical form grid
data FieldProps model action Source #
Props for field_: label + control + description stack
Constructors
| FieldProps | |
Fields
| |
defaultFieldProps :: FieldProps model action Source #
Smart constructor
Views
field_ :: FieldProps model action -> [View model action] -> View model action Source #
Field: labelled control with optional description. Children are the control(s).
Samples
formSample :: View model action Source #
formCodeSample :: View model action Source #
formPropsApi :: View model action Source #