Lumi.Components.Form.Table
- Package
- purescript-lumi-components
- Repository
- lumihq/purescript-lumi-components
#TableFormBuilder Source
newtype TableFormBuilder props row resultAn applicative functor used to build editable tables out of FormBuilders.
FormBuilders can be turned into TableFormBuilders with the column
function. TableFormBuilders can, then, be used inside forms with the
editableTable function.
Instances
Newtype (TableFormBuilder props row a) _Functor (TableFormBuilder props row)Apply (TableFormBuilder props row)Applicative (TableFormBuilder props row)
#editableTable Source
editableTable :: forall result row props. { addLabel :: String, defaultValue :: Maybe row, formBuilder :: TableFormBuilder { readonly :: Boolean | props } row result, maxRows :: Int, summary :: JSX } -> FormBuilder { readonly :: Boolean | props } (Array row) (Array result)A TableFormBuilder makes a FormBuilder for an array where each row has
columns defined by it.
#nonEmptyEditableTable Source
nonEmptyEditableTable :: forall result row props. { addLabel :: String, defaultValue :: Maybe row, formBuilder :: TableFormBuilder { readonly :: Boolean | props } row result, maxRows :: Int, summary :: JSX } -> FormBuilder { readonly :: Boolean | props } (NonEmptyArray row) (NonEmptyArray result)A TableFormBuilder makes a FormBuilder for a non-empty array where each
row has columns defined by it.
#column Source
column :: forall row props. String -> Orientation -> (FormBuilder { readonly :: Boolean | props } row) ~> (TableFormBuilder { readonly :: Boolean | props } row)Convert a FormBuilder into a column of a table form with the specified
label and orientation.
#column_ Source
column_ :: forall row props. String -> (FormBuilder { readonly :: Boolean | props } row) ~> (TableFormBuilder { readonly :: Boolean | props } row)Convert a FormBuilder into a column of a table form with the specified
label where all fields are laid out horizontally.
#withProps Source
withProps :: forall result row props. (props -> TableFormBuilder props row result) -> TableFormBuilder props row resultMake the props available. This allows for changing the structure of a table form builder based on the current props.
- Modules
- JSS
- Lumi.
Components. Badge - Lumi.
Components. Border - Lumi.
Components. Breadcrumb - Lumi.
Components. Button - Lumi.
Components. ButtonGroup - Lumi.
Components. Card - Lumi.
Components. CardGrid - Lumi.
Components. Color - Lumi.
Components. Column - Lumi.
Components. Details - Lumi.
Components. Divider - Lumi.
Components. DropdownButton - Lumi.
Components. EditableTable - Lumi.
Components. FetchCache - Lumi.
Components. FixedPrecisionInput - Lumi.
Components. Form - Lumi.
Components. Form. Defaults - Lumi.
Components. Form. Internal - Lumi.
Components. Form. Table - Lumi.
Components. Form. Validation - Lumi.
Components. Icon - Lumi.
Components. Images - Lumi.
Components. Input - Lumi.
Components. InputGroup - Lumi.
Components. LabeledField - Lumi.
Components. Layouts - Lumi.
Components. Layouts. Centered - Lumi.
Components. Layouts. OneColumnWithHeader - Lumi.
Components. Layouts. Tabs - Lumi.
Components. Link - Lumi.
Components. List - Lumi.
Components. Loader - Lumi.
Components. Lockup - Lumi.
Components. Modal - Lumi.
Components. NativeSelect - Lumi.
Components. Navigation - Lumi.
Components. Orientation - Lumi.
Components. Pagination - Lumi.
Components. Pill - Lumi.
Components. Progress - Lumi.
Components. Responsive - Lumi.
Components. Row - Lumi.
Components. Select - Lumi.
Components. Select. Backend - Lumi.
Components. Size - Lumi.
Components. Slider - Lumi.
Components. Spacing - Lumi.
Components. Status - Lumi.
Components. StatusSlat - Lumi.
Components. Styles - Lumi.
Components. Svg - Lumi.
Components. Tab - Lumi.
Components. Table - Lumi.
Components. Table. FilterDropdown - Lumi.
Components. Text - Lumi.
Components. Textarea - Lumi.
Components. Toast - Lumi.
Components. Tooltip - Lumi.
Components. Upload - Lumi.
Components. Utility. ReactRouter - Lumi.
Components. Wizard - Lumi.
Components. ZIndex