Skip to content

Commit cc92be7

Browse files
author
thapacodes4u
committed
Fixing: SQL error when creating new page
1 parent e492285 commit cc92be7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Admin/Filament/Resources/PageResource.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,8 @@ public static function form(Form $form): Form
157157
->compact()
158158
->hiddenOn('create'),
159159

160-
Hidden::make('type'),
160+
Hidden::make('type')
161+
->default('page'),
161162
]);
162163
}
163164

0 commit comments

Comments
 (0)