Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access FieldPlugin options from within validateContent #342

Open
henriksjodahl opened this issue Jan 29, 2024 · 1 comment
Open

Access FieldPlugin options from within validateContent #342

henriksjodahl opened this issue Jan 29, 2024 · 1 comment

Comments

@henriksjodahl
Copy link

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
...

@eunjae-lee
Copy link
Contributor

Hi @henriksjodahl thanks for creating this issue. We will let you know once we get to work on this. (cannot provide the ETA yet, though)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants