fix(admin): pass required schemaPath to addFieldRow
All checks were successful
Build & Deploy to K3s / build-and-deploy (push) Successful in 3m2s

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
ordinarthur 2026-04-21 18:20:38 +02:00
parent aa87b6da8a
commit 55ab6175a1

View File

@ -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 },