Skip to content

Commit 1f796b9

Browse files
authored
Revert error prop pass down style in page builder view
1 parent b0d4f42 commit 1f796b9

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

resources/views/components/forms/components/page-builder.blade.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,9 @@
3030
3131
$key = $getKey();
3232
$statePath = $getStatePath();
33-
34-
$errors ??= new ViewErrorBag;
35-
36-
if (!$errors->hasBag('default')) {
37-
$errors->put('default', new MessageBag);
38-
}
3933
@endphp
4034

41-
<x-dynamic-component :component="$getFieldWrapperView()" :field="$field" :errors="$errors">
35+
<x-dynamic-component :component="$getFieldWrapperView()" :field="$field">
4236
<div
4337
x-data="{}"
4438
{{

0 commit comments

Comments
 (0)