Using this:
{
name: 'stripeLink',
type: 'ui',
admin: {
components: {
Field: StripeProducts,
},
},and within my custom component
StripeProducts;
export const StripeProducts: React.FC<StripeProductsProps> = ({ path }) => {pathis coming up as undefined.
propsis a copy of that object (admin). How would i pull
pathdown? Using next-payload
Just got a bot answer 🙂
When specifying a UI field type, the path property is not provided. It is only available for other field types.Star
Discord
online
Get dedicated engineering support directly from the Payload team.