More dynamic field properties via functions #13225
DieTapete
started this conversation in
Feature Requests & Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
the config definition of a collection has the option to show or hide a field via the
admin.condition
function. However if I want to change an arbitrary field's property dynamically the only option is through custom components or plugins, which is quite cumbersome.I have currently two use cases:
My proposal is to always add the option to use a function for setting a value:
To my mind this would add a great value. However, I just got started using payload and I guess that the feasibility of this approach might be limited.
Beta Was this translation helpful? Give feedback.
All reactions