Form, that contains form fields and action buttons.
<= Login $mol_form
form_fields /
<= Name_field $mol_form_field
name <= name_label @ \User name
bid <= name_bid \
control <= Name_control $mol_string
value?val <=> name?val \
<= pass_field $mol_form_field
name <= pass_label @ \Pass word
bid <= pass_bid \
control <= Pass_control $mol_string
value?val <=> pass?val \
type \password
buttons /
<= Login_submit $mol_button_major
title <= login_submit_label @ \Submit
event_click?val <=> event_submit?val null
form_fields(): $mol_form_field[]
Returns list of $mol_form_field
components.
buttons(): []
Returns buttons to interact with the form.
name() : string
Returns name of field.
errors() : string[]
Returns list of errors.
control() : $mol_view
Returns control to interact with user.