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

Extend CustomFieldConfig by "config" property #547

Closed
chladog opened this issue Nov 6, 2020 · 2 comments
Closed

Extend CustomFieldConfig by "config" property #547

chladog opened this issue Nov 6, 2020 · 2 comments

Comments

@chladog
Copy link
Contributor

chladog commented Nov 6, 2020

Is your feature request related to a problem? Please describe.
Currently there is no property in CustomFieldConfig that would allow developer to pass along some data/config object that is needed for example by custom UI component - CustomFieldControl.

Describe the solution you'd like
New property config OR data.
Usually the configs are objects so I propose JSON type for this property, though string would work as well as we can stringify JSON.

Describe alternatives you've considered
In the meantime I pass data in "description field, which is not the best soltution (cannot have actual description, and it's localized string)

Additional context
E.g. I want to make a custom UI component for customField which needs "schema" and some "config" options.

@michaelbromley michaelbromley added this to the v1.0.0 milestone Nov 11, 2020
@michaelbromley
Copy link
Member

I would like to incorporate this into ideas discussed in #415, so this data object would live under a ui: { ... } property, since it pertains specifically to the Admin UI representation of the custom field.

@michaelbromley michaelbromley removed this from the v1.0.0 milestone Jun 10, 2021
@martijnvdbrug
Copy link
Collaborator

Completed in #415

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

3 participants