Field

Field is an Input with a label, description, and error message.

Preview

description field

Properties

  • Name
    name
    Type
    string
    required
    *
    Description

    The identifier of the input.

  • Name
    label
    Type
    string
    Description

    The label of the input.

  • Name
    description
    Type
    string
    Description

    The description of the input.

  • Name
    error
    Type
    string
    Description

    The error message of the input.


label

error

When defining an error, the input will be marked as invalid.

this is an example error

children

children can be passed to the input to add additional elements to the input. Example: a button.

example description

example error

TextArea

TextArea is a textarea input.

example description

example error