Skip to content

Field Types Overview

Erupt ships with a rich set of field types, selected via @Edit(type = EditType.XXX).

Basic Components

TypeDescriptionDocs
AUTODefault. Inferred from the field's Java typeDetails
INPUTSingle-line text inputDetails
TEXTAREAMulti-line text inputDetails
NUMBERNumeric inputDetails
SLIDERSlider inputDetails
DATEDate/time pickerDetails
BOOLEANBoolean switchDetails
MAPGeolocation pickerDetails
COLORColor pickerDetails
RATERatingDetails

Selection Components

TypeDescriptionDocs
CHOICESingle-selectDetails
MULTI_CHOICEMulti-selectDetails
TAGSTag pickerDetails
AUTO_COMPLETEAutocompleteDetails

Media & Editors

TypeDescriptionDocs
ATTACHMENTAttachment / image uploadDetails
HTML_EDITORRich-text editorDetails
CODE_EDITORCode editorDetails
MARKDOWNMarkdown editorDetails
SIGNATURESignature padDetails

Relation Components

These components are more involved. Make sure you understand JPA's one-to-one / one-to-many / many-to-many relationships before using them.

TypeRelationDescriptionDocs
REFERENCE_TABLEmany-to-oneTable dialog selectorDetails
REFERENCE_TREEmany-to-oneTree dialog selectorDetails
CHECKBOXmany-to-manyCheckboxesDetails
TAB_TREEmany-to-manyTree selectorDetails
TAB_TABLE_REFERmany-to-manyTable selectorDetails
TAB_TABLE_ADDone-to-manyNested inline addDetails
COMBINEone-to-oneNested inline add (JSON-backed)Details

Others

TypeDescriptionDocs
DIVIDEHorizontal dividerDetails
TPLCustom HTML templateDetails
HIDDENHidden fieldDetails
EMPTYEmpty placeholderDetails

Contributors

The avatar of contributor named as YuePeng YuePeng

Changelog

Released under the Apache-2.0 License.