Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    TimeItem in grid: ESC doesn't end editing

    SmartClient Version: SNAPSHOT_v12.1d_2018-06-29/AllModules Development Only (built 2018-06-29)
    and
    SmartClient Version: v11.1p_2018-06-28/AllModules Development Only (built 2018-06-28)

    Chrome on OSX

    Hello, please try this test case:

    Code:
    isc.ListGrid.create({
        ID: "countryList",
        width: 550, height: 224, alternateRecordStyles: true,
        dataSource: countryDS,
        fields: [
            {name: "countryCode", title: "Flag", width: 40, type: "image", imageURLPrefix: "flags/16/", imageURLSuffix: ".png", canEdit: false},
            {name: "countryName"},
            {name: "continent"},
            {
                name: "DATA_ACCESSO",
                type: "time",
                timeFormatter: "toShort24HourTime",
                useTextField: true,
                title: "Ora accesso",
                editorProperties: {
                    editorType: "TimeItem", useMask: true
                }
            }
        ],
        autoFetchData: true,
        canEdit: true,
        editEvent: "doubleClick",
        modalEditing: true
    })
    if you edit a record and insert a time value in the last column, and then press ESC, the value will be cleared, but it won't end editing.

    Same for DateItem and DateTimeItem

    With useMask:false, instead, it will end editing.
    Last edited by claudiobosticco; 29 Jun 2018, 05:38.

    #2
    Quick update - we see this issue and the errant logic causing it, and we'll update here when it's been fixed.

    Comment


      #3
      This is fixed in all supported versions for builds dated July 3 and later.

      Comment

      Working...
      X