ReferenceSchema API
.nullable()
Makes a value optional: it may be null, and editors may leave it empty.
Use it for
- Fields editors can skip
- Optional images, links and sections
Nullable Method
.nullable()
schemaMakes any schema type nullable
In Val Studio
Example
Example
TypeScript