From 1ee2e723477e8b7eefeee78f63ab02285c77cd5b Mon Sep 17 00:00:00 2001 From: philipp lang Date: Fri, 7 Jun 2024 00:55:34 +0200 Subject: [PATCH] Add default value for intro --- app/Form/Fields/Field.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Form/Fields/Field.php b/app/Form/Fields/Field.php index 078fbc31..519dd4bf 100644 --- a/app/Form/Fields/Field.php +++ b/app/Form/Fields/Field.php @@ -154,6 +154,7 @@ abstract class Field extends Data 'for_members' => true, 'special_type' => null, 'hint' => '', + 'intro' => '', ...collect(static::meta())->mapWithKeys(fn ($meta) => [$meta['key'] => $meta['default']])->toArray(), ], ];