Skip to main content
The Code field stores a string while presenting a syntax-highlighted editor in the admin panel. It does not execute the stored code. Use a JSON field when the stored value should be structured JSON rather than text.

Config options

Admin options

Code fields support the standard field admin options, plus these options:

Custom components

Override the field or its label through admin.components. Custom components can wrap FrogBot’s default code editor.

Field

Server component

Client component

Label

Server component

Client component