Collection level Provider #1058
rpfaeffle
started this conversation in
Feature Requests & Ideas
Replies: 1 comment 1 reply
-
Hey @KaterBasilisk6 — interesting question. Follow-up for you. It sounds like this is only applicable to your custom added views. Can you not build out a custom view that includes your own provider, within your form? What do your custom views look like? Are you re-using the built-in Payload collection |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm currently working on a custom plugin field which relies on the
useField
hook and data generated by other component based fields. For a sake of simplicity I would like to create a provider which allows all custom views to post data.With the current approach of global providers this is not possible due to the fact that payload inserts the global providers before the
<Form />
provider. Therefore I would like to ask whether its possible to add collection based providers which would be able to access theuseField
hook.Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions