mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-29 22:30:01 +02:00
Set empty_data to null for APIKeyType
This commit is contained in:
parent
f48791e961
commit
cb63b3bde7
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@ class APIKeyType extends AbstractType
|
||||||
$resolver->setDefaults([
|
$resolver->setDefaults([
|
||||||
'always_empty' => false,
|
'always_empty' => false,
|
||||||
'toggle' => true,
|
'toggle' => true,
|
||||||
|
'empty_data' => null,
|
||||||
'attr' => ['autocomplete' => 'off'],
|
'attr' => ['autocomplete' => 'off'],
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue