Issue Bug Closed

#105829Date time evaluation broken with required=true

Andreas Kienast 12/16/24, 09:01 updated 12/02/25, 14:27

Description

The date time field validation is broken in case the field is required:

'input_2' => [
    'label' => 'input_2 eval=required,trim,date',
    'config' => [
        'type' => 'datetime',
        'format' => 'date',
        'required' => true,
    ],
],

This can be verified with EXT:styleguide – Page “required” -> Tab “Input” -> Field “input_2”.

Initial report: https://github.com/benjaminkott/bootstrap_package/issues/1544

Reviews 2

History 412

  1. Anonymous commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2025-01-13T11:45:09+00:00" > 01/13/25, 11:45 </span>

    Applied in changeset commit:924e62f2aae99222efb673d6264d1500db39b1f7.