Skip to content

Commit e1c4bc1

Browse files
committed
Fix for Latest Voyager image issue (hack)
1 parent b3025c6 commit e1c4bc1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

resources/views/vendor/voyager/page-blocks/edit-add.blade.php

+2
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@
127127
@php
128128
$template = $block->template();
129129
$dataTypeContent = $block->data;
130+
/* Hack: for latest Voyager "data-id" requirement on image field */
131+
$dataTypeContent->id = 0;
130132
@endphp
131133

132134
@if ($block->type === 'template')

0 commit comments

Comments
 (0)