Announcement

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

    [BUG] TimeItem in ListGrid loses value

    hi,
    I'm experiencing a bug with the inline editing of a TimeItem which uses input mask.

    Step to reproduce BUG:
    1. Start editing any row and type a valid time value like 18:30
    2. Keep the row editor open and move (by clicking or tabbing) to the next field (continent)
    3. The TimeItem loses his value and also the validation seems to be pretty messed up.

    I've noticed that removing "editorProperties: {useMask: true}" the bug disappear.

    1.ISC Versions:
    • SNAPSHOT_v10.1d_2015-08-16/EVAL Development Only
    • v10.0p_2015-08-20/Enterprise Development Only



    2.Browser and OS: 44.0.2403.155 m (64-bit) on Windows 8.1 Pro

    6. Snippet of code to test in this example page
    Code:
    isc.ListGrid.create({
        ID: "countryList",
        width:550, height:224, alternateRecordStyles:true, cellHeight:22,
        // use server-side dataSource so edits are retained across page transitions
        dataSource: countryDS,
    autoSaveEdits:false,
        // display a subset of fields from the datasource
        fields:[
            {name:"countryCode", title:"Flag", width:40, type:"image", imageURLPrefix:"flags/16/", imageURLSuffix:".png", canEdit:false},
            {name:"countryName"},
            {name: "OUT",
                type: "time",
                timeFormatter: "toShortPadded24HourTime",
                editorType: "TimeItem",
                editorProperties: {useMask: true},
                required: true},
            {name:"continent"},
            {name:"member_g8"},
            {name:"population"},
            {name:"independence"}
        ],
        autoFetchData: true,
        canEdit: true,
        editEvent: "click"
    });

    #2
    This is fixed for builds dated August 22 and later.

    Comment


      #3
      Originally posted by Isomorphic View Post
      This is fixed for builds dated August 22 and later.
      I can confirm that the previous bug has been fixed but there's another one:

      On the same page with the same code and same ISC versions:
      1. Start editing any row and type a valid time value like 18:30
      2. Close the editor by clicking outside of the row
      3. Now click again on the just edited row on the "OUT" field and the value is cleared.
      .

      This behavior seems to occur also when you start editing another field and you move to the time field by using tab key.

      P.S.: By removing "editorProperties: {useMask: true}" the bug disappear.
      Last edited by Medioman92; 27 Aug 2015, 01:21.

      Comment


        #4
        any updates ?

        Comment


          #5
          It's queued to be looked at - we'll update here when we have more information

          Comment


            #6
            any news on this topic ?

            Thanks

            Comment


              #7
              This seems fixed on the latest 11.0 and 11.1 builds.

              Comment

              Working...
              X