Skip to main content

Admin components

Field#

<Field field="myField" />

Required props#

PropsDescription
field

string

Texts#

Text field#

The text field is used for basic string editing. This field has no rich text editing capabilities.

<TextField field="myText" label="My text" />

Required props#

PropsDescription
field

string

label

React.ReactNode

Text area field#

<TextAreaField field="myText" label="My text" />

Required props#

PropsDescription
field

string

label

React.ReactNode

Rich text field#

<RichTextField field="myText" label="My text" />

Required props#

PropsDescription
field

string

label

React.ReactNode

Lists#

Select field#

<SelectField field="myField" label="Select field" options="Entity.name" />

Required props#

PropsDescription
field

string

label

React.ReactNode

options

string

Multi select field#

<MultiSelectField field="myList" label="Select field" options="Entity.name" />

Required props#

PropsDescription
field

string

label

React.ReactNode

options

string

Repeater field#

<Repeater field="myList" label="List" sortable="order">
<TextField field="myText" label="My text" />
</Reapeater>

Required props#

PropsDescription
field

string

label

React.ReactNode

options

string

Dates#

Date field#

<DateField field="myDate" label="Date" />

Required props#

PropsDescription
field

string

label

React.ReactNode

Date & Time field#

<DateTimeField field="myDateTime" label="Date with Time" />

Required props#

PropsDescription
field

string

label

React.ReactNode