Announcement

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

    Wrong selection length when tabbing into combo

    Hi,
    I have a case where a combo displays a string like 'New' but when tabbing into the combo only the first N is selected. It seems that the length to select is based on the value and not on the displayvalue.

    NOTE: this works fine in the online Smartclient demo, but not in the nightly build of 10 april 2011.

    See the attached screenshot.

    This can be reproduced (in chrome) with the code below.

    I pasted this code in this example:

    To reproduce, put the focus in the first field and then tab, then in the second combo only the N character is selected and not the whole word.

    Code:
    isc.DynamicForm.create({
        width: 500,
        numCols: 4,
        fields : [{
            name: "itemName", title: "Item Name", editorType: "comboBox", 
            optionDataSource: "supplyItem", pickListWidth: 250
        },{
            name: "bugStatus", title: "Bug Status", 
            editorType: "comboBox",
    value: "1",
    selectOnFocus: true,
            valueMap : {
                "1" : "New",
                "2" : "Active",
                "2" : "Revisit",
                "3" : "Fixed",
                "4" : "Delivered",
                "5" : "Resolved",
                "6" : "Reopened"
            }
        }]
    });
    Attached Files

    #2
    bumped up!

    Comment


      #3
      Please don't "bump" unless you see something that's been left longer than the expected response time, thanks.

      Comment


        #4
        Yeah you are right, sorry

        Comment


          #5
          You are correct. The length highlighted is based on the value not the display.

          Comment


            #6
            Well, the expected response time has now passed....

            gr. Martin

            Comment


              #7
              Yes - sorry for the delay. We were looking at it.
              A fix has now been added to the codebase - will show up in the next nightly build

              Isomorphic Software

              Comment

              Working...
              X