Issue Bug Closed

#109875datetime field does not work as slug candidate

Markus Klein 05/26/26, 14:53 updated 08/11/26, 08:50

Description

Using a date or datetime field as a slug field for a record (‘generatorOptions’), does not work anymore since v13.

The problem is, that the slug-element uses the id-attribute of the hidden-field for it’s change-event to trigger slug-regeneration.
A hack in the date-time-picker transfers the id-attribute to a different input-field though, which has no value.

The fix is to use a different selection, instead of the id, within the slug-element.

Reviews 3

History 36

  1. Gerrit Code Review pushed patch set 1 for main to change 94159 status Accepted Under Review <span data-processor="relativetime" data-value="2026-05-26T14:58:48+00:00" > 05/26/26, 14:58 </span>

  2. Markus Klein commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-07-17T19:15:08+00:00" > 07/17/26, 19:15 </span>

    Applied in changeset commit:6491b8e1396a87ffff5a8541b6109a370f1da20e.