1. Configuration
  2. BaseInput

Configuration

BaseInput

An extension of the BaseElement that should be used for all elements that handle data.

Attributes

The BaseInput element inherits all the attributes of BaseElement

In addition, it has the following attributes:

Attribute Required Description Type Example
name Yes Name of the field string name
schema Yes Validation schema ZodTypeAny zod.string()
label No Label of the field string Name
components No Override the components of the field Components { ... }

Components

Attribute Required Description Type Example
wrapper No Override the wrapper component unknown CustomWrapperComponent
label No Override the label component unknown CustomLabelComponent