Skip to content

Date and Time field values getting wiped #54

@LauraMontgomery

Description

@LauraMontgomery

Describe the bug

When using the Date and Time fields in TableMaker, any previous values added get wiped if I make any changes to the Table Columns. Times I have spotted this include:

  • Adding a new column
  • Editing the name of a column heading
  • Updating the values in a dropdown field

Related, but I suppose technically a different issue, is that date fields also load with NaN/NaN/NaN - which I understand as a developer, but might scare the normal end-user.

Steps to reproduce

  1. Create a table with Date and Time columns
    Note that the date column field is populated with NaN/NaN/NaN, although the field itself works perfectly fine.

Image

  1. Populate table with some data, and save the entry

Image

  1. After the entry has saved, add a new column to the table
    Note that the previously entered values for Date and Time have now been wiped, alongside Date showing NaN/NaN/NaN again

Image

Craft CMS version

5.6.4

Plugin version

5.0.4

Multi-site?

No

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions