UI Fields

default discord avatar
6 months ago

Is it possible to get data from context within UI type fields?

as an example :

i would like to display an Image from URL in the Admin panel which is stored in another field of the same collection entry

  • default discord avatar
    Mark | Omniux
    6 months ago

    Try with the useFormFields React hook 😄


    It's a great way to get the state of a field without triggering any heavy duty rerenders

Open the post
Continue the discussion in Discord
Like what we're doing?
Star us on GitHub!


Connect with the Payload Community on Discord



Can't find what you're looking for?

Get help straight from the Payload team with an Enterprise License.