fix(admin): pass required schemaPath to addFieldRow
All checks were successful
Build & Deploy to K3s / build-and-deploy (push) Successful in 3m2s
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:
parent
aa87b6da8a
commit
55ab6175a1
@ -80,6 +80,7 @@ export function ImageUploadSlot({ displayName }: Props) {
|
|||||||
(mediaId: number | string) => {
|
(mediaId: number | string) => {
|
||||||
addFieldRow({
|
addFieldRow({
|
||||||
path: 'images',
|
path: 'images',
|
||||||
|
schemaPath: 'products.images',
|
||||||
rowIndex: rowCount,
|
rowIndex: rowCount,
|
||||||
subFieldState: {
|
subFieldState: {
|
||||||
image: { initialValue: mediaId, valid: true, value: mediaId },
|
image: { initialValue: mediaId, valid: true, value: mediaId },
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user