8000 fix · laravel-enso/forms@03a6b10 · GitHub
[go: up one dir, main page]

Skip to content

Commit 03a6b10

Browse files
committed
fix
1 parent 84624b4 commit 03a6b10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Services/Form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ private function field(string $fieldName): Obj
298298
->first(fn ($field) => $field->get('name') === $fieldName);
299299

300300
if (! $field) {
301-
Template::fieldMissing($fieldName);
301+
throw Template::fieldMissing($fieldName);
302302
}
303303

304304
return $field;

0 commit comments

Comments
 (0)
0