Set empty_data to null for APIKeyType

This commit is contained in:
Jan Böhmer 2025-08-24 20:54:04 +02:00
parent f48791e961
commit cb63b3bde7

View file

@ -47,6 +47,7 @@ class APIKeyType extends AbstractType
$resolver->setDefaults([
'always_empty' => false,
'toggle' => true,
'empty_data' => null,
'attr' => ['autocomplete' => 'off'],
]);
}