Right, that won’t work.
Another option: Overwrite the date field with your own, changing the default property to support query strings. Basically like here with the number field: Dynamic default number field - #2 by texnixe
'props' => [
'default' => function ($default = null): string {
return $this->toDatetime($this->model->toString($default)) ?? '';
},
]