Skip to content

Commit cb63b3b

Browse files
committed
Set empty_data to null for APIKeyType
1 parent f48791e commit cb63b3b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Form/Type/APIKeyType.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ public function configureOptions(OptionsResolver $resolver): void
4747
$resolver->setDefaults([
4848
'always_empty' => false,
4949
'toggle' => true,
50+
'empty_data' => null,
5051
'attr' => ['autocomplete' => 'off'],
5152
]);
5253
}

0 commit comments

Comments
 (0)