Skip to content
This repository was archived by the owner on Sep 9, 2024. It is now read-only.
This repository was archived by the owner on Sep 9, 2024. It is now read-only.

DateTime field with i18n - the value displayed in the UI is wrong when i18n is set to duplicate #1052

Open
@dallyh

Description

@dallyh

Hello,

as the title says (this again might be just an UI thing), when there is a field set up for a collection like this:

{
          "name": "pubDateTime",
          "label": "Publish Date",
          "widget": "datetime",
          "i18n": "duplicate",
          "date_format": true,
          "time_format": true
},

Then, when creating a new entry in the UI the field's value is in the other locale (not default locale) is not set (or it looks like it - screenshot taken from split view i18n side by side):

image

Also when I turn off i18n side by side, this happens (mask is displayed):
image

Then when I switch back, both fields are displaying the mask:
image

The actualy value is saved into the entry (file) even though in the UI it looks different:
image

Started happening on version 4.0.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions