Skip to content

Access FieldPlugin options from within validateContent #342

Open
@henriksjodahl

Description

Describe the solution you'd like
I would like to be able to access FieldPlugin options from within the validateContent function.

The reason is i've got a plugin that selects objects, and i was thinking about having an option that states if it should be an single or multiselect. And if multiple, the validation creates an array, if single its just a string.

Describe alternatives you've considered
...

Additional context
...

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions