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'], ]); }