Announcement

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

  • SelectItem.setHint after form rendering breaks pickList alignment

    SmartClient Version: v11.1p_2019-02-07/AllModules Development Only (built 2019-02-07)

    Chrome on OSX

    Hello, please modify the #filterRelated sample like this:

    Code:
    isc.DynamicForm.create({
        ID:"testForm",
        width: 550,
        numCols:4,
        fields : [
        {
            name: "filteredSelect", title: "Item (Select)", editorType: "SelectItem", 
             showHintInField:true,
            optionDataSource: "supplyItem", wrapTitle: false,
            displayField:"itemName", valueField:"SKU",
            pickListWidth:300,
            pickListProperties: {
                showFilterEditor:true
            },
            pickListFields:[
                {name:"SKU"},
                {name:"itemName"}
            ]
        }
        ]
    })
    (Note the showHintInField:true)

    Then:
    1. execute this code: testForm.getItem('filteredSelect').setHint('foo bar')
    2. click to open the pickList

    Click image for larger version

Name:	2019-02-08 17.35.26.jpg
Views:	1
Size:	33.7 KB
ID:	256799

    You'll see that the pickList is not correctly aligned, and you'll see this warning in the console:
    Code:
    WARN:DynamicForm:testForm2:getLeft() Unable to determine position for filteredSelect2. This method is not supported by items of type [Class SelectItem] - returning zero.

  • #2
    Sorry for the long silence on this one - we weren't immediately reproducing it and incorrectly assumed the problem had been fixed.
    Anyway we have seen it and it is now resolved. Please try the next nightly build, dated March 14 or above

    Regards
    Isomorphic Software

    Comment

    Working...
    X