Skip to content

Json field

In the table page, a json field will look like this

field image

When you click on the “open” button

field image

In the create / edit page

edit field image

Config

validation

Optionnal, a Vine validation schema to enforce on the json field

e.g.

const fieldValidationSchema = vine.compile(
vine.object({
color: vine.string(),
isBeautiful: vine.boolean(),
age: vine.number().optional(),
})
)