Announcement

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

    SC_SNAPSHOT-2012-02-03_v8.2p: ComboBox: does not select correct entry

    The current version (SC_SNAPSHOT-2012-02-03_v8.2p) has two bugs:

    1. (minor:) moving the mouse over an expanded ComboBox marks all entries blue
    2. (major:) clicking on an entry actually writes the first entry into the ComboBox, not the clicked entry.

    Test Case for the feature explorer:

    Code:
    isc.DataSource.create({
        ID:"countryDS",
        dataFormat:"json",
        dataURL:"/isomorphic/system/reference/inlineExamples/grids/data/countryData.json",
        fields:[
            {
                title:"Country",
                name:"countryName"
            }
        ]
    })
    isc.DynamicForm.create({
        width: 500,
        numCols: 4,
        fields : [{
            name: "itemName", title: "Item Name", editorType: "comboBox", displayField: "countryName",
            optionDataSource: "countryDS", pickListWidth: 250
        }]
    });
    Steps to reproduce:
    1) Expand the ComboBox
    2) Move mouse over the entries. Entries get blue. -> bug #1
    3) Now click on "Canada". "United States" gets applied instead. -> bug #2

    Best Regards,
    Florian

    #2
    We see the problem and will be resolving it in the next nightly. We've also removed this build from circulation.
    Thanks for your report

    Regards
    Isomorphic Software

    Comment


      #3
      Looks like we were too hasty in declaring this (#2) a bug.
      You've failed to include a "valueField" in your definition, meaning the selection is attempting to set the form item value to the formItem "name" attribute (in this case "itemName") which does not exist in the country datasource data.

      Regardless - we're working on #1 - this should be resolved in the next nightly.

      Comment


        #4
        Thanks for pointing out the solution for issue #2. Seems that there was some behavioral change between 8.1 and 8.2 (because our combo boxes started to fail after upgrading to 8.2), but specifying the valueField fixes the issue and everything works perfectly again.

        Comment

        Working...
        X