Skip to content

Date Field in Table Maker not working properly #68

Description

@remoflury

Describe the bug

I have a field of type Table Maker.

One Table column has a date field. The first selection works fine. But when i select a date, then change either with or alignment, i get NaN.NaN.NaN
when the entry then is saved, the date will be completely removed

Before:

Image

After:

Image

Steps to reproduce

  1. Have a structure with a table maker field in it.
  2. Create a heading column with type date, select a date.
  3. save it
  4. Change the width or alignment of the according column

Craft CMS version

5.10.13.2

Plugin version

5.0.9

Multi-site?

Yes

Additional context

i got these dependencies in the composer.json:

"require": {
    "behinddesign/craft-object-storage": "^v1.1.1",
    "craftcms/ckeditor": "^5",
    "craftcms/cms": "^5.10.13.2",
    "johnhenry/matrix-block-anchor": "^3.3.0",
    "nystudio107/craft-retour": "^5.0.14",
    "nystudio107/craft-seomatic": "^5.1.22",
    "spacecatninja/imager-x": "^6.1.0",
    "spicyweb/craft-embedded-assets": "^5.4.8",
    "teamnovu/craft-sitecopy": "^4.0.4",
    "verbb/auth": "^2",
    "verbb/base": "^3",
    "verbb/formie": "^3.1.34",
    "verbb/hyper": "^2",
    "verbb/tablemaker": "^5.0.9",
    "vlucas/phpdotenv": "^5"
  },

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