Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

Is it possible to add new options to a select field from the dashboard?

default discord avatar
sccttt2 years ago
3

We'd like to use a select field as a category selector for articles. Is it possible to add a new category from the dashboard with the native select field or would this only be achievable with a custom component?

  • discord user avatar
    tylandavis
    2 years ago

    You could create a collection for your categories, and then instead of using a select field, you would use a relationship. That would allow you to add a new category to your collection when selecting relations.

  • default discord avatar
    sccttt2 years ago

    Ah yes, that would work perfectly. Thank you!

  • discord user avatar
    tylandavis
    2 years ago

    You're welcome!

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.