'#default_value' does not set the default value and uses today as default.

Comments

edurenye created an issue.

edurenye’s picture

The workaround is to use:
'#attributes' => ['defaultDate' => $date]
But would be nice to be able to use the drupal way.

phjou’s picture

Same issue here :(

I though I had the same thing but in fact it is working well with a relative date +30days

Do you have more detail to reproduce?