field-plugin icon indicating copy to clipboard operation
field-plugin copied to clipboard

Access FieldPlugin options from within validateContent

Open henriksjodahl opened this issue 1 year ago • 1 comments

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

henriksjodahl avatar Jan 29 '24 13:01 henriksjodahl