directus / directus/docs

No explanation how to use visual editor with singletons

Open
#420 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
22
Forks
82
Avg merge
18h 49m
Merged PRs (30d)
4

Description

Hi,

I've followed the documentation on setting up the visual editor, but couldn't find anything on how to use it with a singleton collection. I've spent about 30 minutes on trial & error until I figured out that I need to put `1` for `item`.

Usual first instinct here would probably be to just not provide anything for `item`, but that doesn't work. And both Discussions & Issues on the Directus Repo and the Directus Community all seem to not have anything about this. Due to all of this, I think it's especially important to mention this somewhere on the docs.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.