Idris2Doc : Web.Async.Form

Web.Async.Form

(source)

Reexports

importpublic Control.Barbie
importpublic Data.Singleton
importpublic Monocle
importpublic Web.Async
importpublic Web.Async.Widget

Definitions

recordFormField : Type
  An editable field in a web form consisting of the field's
name, the node for data input, and an ID that will be used
to send validation messages to a label.

Totality: total
Visibility: public export
Constructor: 
FF : String->HTMLNode->FormField

Projections:
.name : FormField->String
.node : FormField->HTMLNode
.name : FormField->String
Totality: total
Visibility: public export
name : FormField->String
Totality: total
Visibility: public export
.node : FormField->HTMLNode
Totality: total
Visibility: public export
node : FormField->HTMLNode
Totality: total
Visibility: public export
form : Interpolationf=> (0rec : ((f->Type) ->Type)) -> (ListFormField->HTMLNode) ->recSingleton=>FunctorBfrec=>ApplicativeBfrec=>TraversableBfrec=>RecordBfrec=>rec (Editor.g) ->Editor (recg)
  An editable web form where the different fields of a
record can be edited and validated.

The record in question must be a *barbie*
(see the corresponding library), and this function takes as
input such a record of editors and returns an editor of
the record.

@ `rec` : the barbie record type used to group the
field values.
@ `formNode` : used to group and display the different
form fields in a single HTML node.

Note: For uneditable record fields that should not appear in the
user interface, use a `dummy` editor.

Totality: total
Visibility: export
hform : (ListHTMLNode->HTMLNode) ->All (\{arg:0}=>Elem{arg:0}ts) ts=>AllEditorts->Editor (HListts)
  An editable web form where the different fields of a
record can be edited and validated.

The record in question must be a *barbie*
(see the corresponding library), and this function takes as
input such a record of editors and returns an editor of
the record.

@ `rec` : the barbie record type used to group the
field values.
@ `formNode` : used to group and display the different
form fields in a single HTML node.

Note: For uneditable record fields that should not appear in the
user interface, use a `dummy` editor.

Totality: total
Visibility: export