Announcement

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

    Error with the empty value for a SelectItem (showing markup)

    Aria markup <span aria-hidden="true">&nbsp;</span> is seen in the SelectItem with an empty value when escapeHTML is set to true.

    Problem can be reproduced on the SmartClient List Select example on https://www.smartclient.com/docs/9.1...tml#selectItem using SmartClient version v9.1p_2015-08-21/Pro Deployment (built 2015-08-21) on Windows 7 Chrome 45.0.2454.85 m.

    The js code is slightly modified to:

    Code:
    isc.DynamicForm.create({
        width: 500,
        fields: [{
            name: "shipTo", title: "Ship to", type: "select",
            hint: "<nobr>Overnight shipping available for countries in bold</nobr>",
            defaultValue:"CH",
            escapeHTML: true,
            valueMap: {
                "US" : "<b>United States</b>",
                "CH" : "",
                "JA" : "<b>Japan</b>",
                "IN" : "India",
                "GM" : "Germany",
                "FR" : "France",
                "IT" : "Italy",
                "RS" : "Russia",
                "BR" : "<b>Brazil</b>",
                "CA" : "Canada",
                "MX" : "Mexico",
                "SP" : "Spain"
            },
        }]
    });
    The same problem seems to be found in the GWT as well but was fixed earlier as mentioned in the following thread:
    http://forums.smartclient.com/forum/...markup?t=31194


    ----------------
    SmartClient Version: v9.1p_2015-08-21/Pro Deployment (built 2015-08-21)
    Windows 7 Chrome 45.0.2454.85 m
    Last edited by cyuen; 10th Sep 2015, 13:32.

    #2
    We've now made a change to address this issue. Please try the next nightly build, dated Sep 12 or above.
    This change applies to 9.1p, 10.0p and 10.1d branches

    Regards
    Isomorphic Software

    Comment

    Working...
    X