Form Field

DetailsProperties

FormField

Property
Type
Description
label
node

The label used above the input element.

labelFor
string

Passed on the label as a htmlFor prop.

isRequired
bool

Whether or not show an asterix after the label.

description
node

An optional description of the field under the label, above the input element.

hint
node

An optional hint under the input element.

validationMessage
node

If a validation message is passed it is shown under the input element and above the hint. This is unaffected by `isInvalid`.

FormFieldDescription

There are no props to show.

FormFieldHint

There are no props to show.

FormFieldLabel

Property
Type
Description
isAstrixShown
bool

Whether or not to show an asterix after the label.

FormFieldValidationMessage

There are no props to show.