From cb63b3bde7aef1e3901ec02e0b887274146f10db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sun, 24 Aug 2025 20:54:04 +0200 Subject: [PATCH] Set empty_data to null for APIKeyType --- src/Form/Type/APIKeyType.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Form/Type/APIKeyType.php b/src/Form/Type/APIKeyType.php index 3960524b..ae72f2a6 100644 --- a/src/Form/Type/APIKeyType.php +++ b/src/Form/Type/APIKeyType.php @@ -47,6 +47,7 @@ class APIKeyType extends AbstractType $resolver->setDefaults([ 'always_empty' => false, 'toggle' => true, + 'empty_data' => null, 'attr' => ['autocomplete' => 'off'], ]); }