type

FieldAdmin

type FieldAdmin struct { Label string `json:"label"` LabelTranslations map[string]string `json:"labelTranslations,omitempty"` Description string `json:"description,omitempty"` DescriptionTranslations map[string]string `json:"descriptionTranslations,omitempty"` Placeholder string `json:"placeholder,omitempty"` PlaceholderTranslations map[string]string `json:"placeholderTranslations,omitempty"` ReadOnly bool `json:"readOnly,omitempty"` Hidden bool `json:"hidden,omitempty"` Sidebar bool `json:"sidebar,omitempty"` Columns int `json:"columns,omitempty"` Row *FieldRow `json:"row,omitempty"` Collapsible *FieldCollapsible `json:"collapsible,omitempty"` Tab string `json:"tab,omitempty"` TabTranslations map[string]string `json:"tabTranslations,omitempty"` TabGroup *FieldTabGroup `json:"tabGroup,omitempty"` NamedTab bool `json:"namedTab,omitempty"` Condition *FieldCondition `json:"condition,omitempty"` Component *FieldAdminComponent `json:"component,omitempty"` }

Serializable field presentation metadata.

Source schema/manifest.go:409

Labelstring
The Label value.
LabelTranslationsmap[string]string
The LabelTranslations value.
Descriptionstring
The Description value.
DescriptionTranslationsmap[string]string
The DescriptionTranslations value.
Placeholderstring
The Placeholder value.
PlaceholderTranslationsmap[string]string
The PlaceholderTranslations value.
ReadOnlybool
The ReadOnly value.
Hiddenbool
The Hidden value.
Sidebarbool
The Sidebar value.
Columnsint
The Columns value.
Row*FieldRow
The Row value.
Collapsible*FieldCollapsible
The Collapsible value.
Tabstring
The Tab value.
TabTranslationsmap[string]string
The TabTranslations value.
TabGroup*FieldTabGroup
The TabGroup value.
NamedTabbool
The NamedTab value.
Condition*FieldCondition
The Condition value.
Component*FieldAdminComponent
The Component value.

Admin visibility, read-only presentation, and renderer selection are never authorization.