Form
{
elements: {
firstName: {
value: "John",
},
},
formError: {
code: "UNIDENTIFIED_CUSTOMER",
message: "Could not find customer",
},
formState: "ERROR",
}
Properties
object
The elements of the form
- START - INTERNAL PROPERTIES OF {{ form.elements }}- END - INTERNAL PROPERTIES OF {{ form.elements }}
object
The name of the input
- START - INTERNAL PROPERTIES OF {{ form.elements.elementName }}- END - INTERNAL PROPERTIES OF {{ form.elements.elementName }}
string
The id of the form element
string
The value of the maxLength property, available only in input type elements
string
The name of the form element
string
The placeholder of the form element
string
Property of the form element, to see if this is required or no
string
The type of the element, could be email, number , etc
string
The value of the element
object
The error of the form
- START - INTERNAL PROPERTIES OF {{ form.formError }}- END - INTERNAL PROPERTIES OF {{ form.formError }}
string
The error code
string
The error message
string
The state of the form