From 55ab6175a107065333de70d8980555984c30c6c3 Mon Sep 17 00:00:00 2001 From: ordinarthur <@arthurbarre.js@gmail.com> Date: Tue, 21 Apr 2026 18:20:38 +0200 Subject: [PATCH] fix(admin): pass required schemaPath to addFieldRow Co-Authored-By: Claude Opus 4.7 --- nextjs/src/components/admin/ImageUploadSlot.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/nextjs/src/components/admin/ImageUploadSlot.tsx b/nextjs/src/components/admin/ImageUploadSlot.tsx index a31dbca..9e4b77c 100644 --- a/nextjs/src/components/admin/ImageUploadSlot.tsx +++ b/nextjs/src/components/admin/ImageUploadSlot.tsx @@ -80,6 +80,7 @@ export function ImageUploadSlot({ displayName }: Props) { (mediaId: number | string) => { addFieldRow({ path: 'images', + schemaPath: 'products.images', rowIndex: rowCount, subFieldState: { image: { initialValue: mediaId, valid: true, value: mediaId },