Components

Type Components#

ec.admin comes with prepacked implementations of Field, Input and Filter components that take care of each ec entry field type.

TypeField#

Entry specific Field implementation. Renders the value of an entry field depending on its type. Used in EntryList and EntryShow.

<TypeField {...fieldProps('name', fieldConfig)} />

TypeInput#

Entry specific Input implementation. Renders the form input of an entry field depending on its type. Used in EntryCreate, EntryEdit.

<TypeInput {...inputProps('name', fieldConfig)} />

TypeFilter#

Entry specific Input Implementation. Renders the filter input of an entry field depending on its type. Used in EntryListFilter.

<TypeFilter {...inputProps('name', fieldConfig)} />