Defaults are not filled when the field has the type datetime

Created on 14 February 2023, over 1 year ago
Updated 20 February 2023, over 1 year ago

Problem/Motivation

If a field has the type datetime the default value that is returned by the form processor is not shown in the form. The effect is that no update forms can be created for date time fields.

Some background. The formsprocessor returns JSON and JSON has no standard date format. Drupal serializes the data in DateTime::ATOM (because this is the ISO standard). What is missing is a string to date conversion for this field.

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands Klaas Culemborg

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024