Announcement

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

    addUnknownValues strange behavior

    In sample http://www.smartclient.com/#comboBoxStyled try following code. When addUnknownValues is false and you choose item in comboBox with mouse comboBox is after selection reopened. Also when you select item with mouse click value sometime disappear from combo. Is it normal? Can we change this to normal behavior (like when addUnknownValues is true)?
    Code:
    isc.DynamicForm.create({
        ID:"testForm",
        width: 500,
       
        fields : [
        {
            name: "itemName", title: "Item Name", editorType: "comboBox", 
            addUnknownValues:false, 
            optionDataSource: "supplyItem", 
            width: 250,
            pickListCellHeight: 50
        }]
    });

    #2
    The ComboBoxItem re-opening is a quirk we'll correct at some point. How do you reproduce values disappearing? We've never seen this. Please be very detailed.

    Comment


      #3
      Maybe I mislead you little bit but:
      1. Open combo with mouse
      2. Scroll down with mouse wheel (you need long list with scroll bar)
      3. Select item (drop down is reopened)
      4. Select again (now list is shortened to one item only)
      5. Click back inside combo behind text (drop down disappear, text is unselected and cursor appear inside combo)
      6. Reopen combo - you see drop down in top position, I guess line isn't selected

      Comment


        #4
        Any plan to fix "re-opening" issue soon? It's a glaring UI bug.

        Thanks,
        Kevin

        Comment


          #5
          "Re-opening" bug now fixed in mainline - see the next ("8.x") nightly build

          Comment


            #6
            Many thanks for addressing this issue so quickly. We're using SmartGWT 2.5. Would it be part of nightly build of SmartGWT 2.5?

            -Kevin

            Comment


              #7
              Any plan to add this fix to smartgwt-2.5 nightly build?

              Comment


                #8
                Applied to the branch. Will show up in SC 8.1.x and SGWT 2.5.x branch nightlies going forward

                Comment

                Working...
                X