function
ValidateFieldEditor
ValidateFieldEditor validates presentation metadata independently of frontend code.
Arguments
| Argument | Type | Description |
|---|---|---|
kind | FieldType | The kind value. |
editor | *FieldEditor | The editor value. |
Returns
The declared result.
errorFull signature
func ValidateFieldEditor(
kind FieldType,
editor *FieldEditor,
) errorRelated types
FieldTypeThe resolved field discriminator shared with generated contracts.
FieldEditorFieldEditor selects an application-local value editor. Config is public JSON.