Null values in datetime fields in editor

Null values in datetime fields in editor

memamema Posts: 8Questions: 2Answers: 0

Hi

I have experienced an issue with fields marked as 'datetime' type.
I have 2 date field in my editor (startdate and enddate). The enddate field can be null.

When I open the editor the first time after a reload of the page, the fields is correct (a date in startdate and nothing in the enddate). But if I close the editor and the open it again from the same row in the Datatable, the enddate now has the same date as the startdate.

Currently I have solved this isse by using jQuery's date picker (date type). This works fine. So I believe it is an error with the datetime plugin.

Hope this is enough to reproduce the error. Otherwise let me know.

Mikkel

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Answer ✓

    Hi Mikkel,

    You are correct - this is a limitation in the datetime field type at the moment. Editor 1.5.4 will support null / empty string values for this field type. 1.5.4 will be released in the next few days.

    Allan

This discussion has been closed.