Skip to content

Asynchronously fetch options (or dynamic select options in general) #809

@dtaub

Description

@dtaub

I couldn't find an issue for this or anything in the docs, but is there any way to have a field asynchronously fetch the options for a select dropdown?

I'm sure actually making http requests would be outside the scope of this library but is there any way to do something along the lines of giving a field a promise that resolves to an array of options? Or even synchronously passing a dynamic list of options that are not known when creating the schema?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions