Announcement

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

    showPickerIcon bug

    Hi,

    if you disable the "picker" icon with option showPickerIcon, the item will not be rendered

    Code:
    isc.DynamicForm.create({
        fields: [{
            name: "shipTo", title: "Ship to", type: "select", showPickerIcon:false, 
            valueMap: {
                "US" : "<b>United States</b>",
                "CH" : "China",
            }
        }]
    });
    Click image for larger version

Name:	Screen Shot 2016-07-14 at 15.06.12.png
Views:	21
Size:	7.0 KB
ID:	239152

    SC Version 11.0p_2016-07-08

    #2
    The control is still present and functional, but has no styling, because the styling that creates the border and dropShadow is the formItem.controlStyle, and that part of the FormItem structure isn't drawn when there is no picker icon.

    If you want to have a SelectItem that has no pickerIcon, you will need to figure out how you want it to look, then apply that appearance via formItem.textBoxStyle.

    Comment

    Working...
    X