fix: [authkey:add] Forced `expiration` field to use datetime UI component

Fix #145
refacto/CRUDComponent
Sami Mokaddem 2023-02-23 14:22:00 +01:00
parent e9056a7b4c
commit f18cde8b0f
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,8 @@ echo $this->element('genericElements/Form/genericForm', [
],
[
'field' => 'expiration',
'label' => 'Expiration'
'label' => __('Expiration'),
'type' => 'datetime',
]
],
'submit' => [