AnsweredAssumed Answered

4.4 popupTemplate fieldInfos label bug?

Question asked by bflessner on Jul 26, 2017
Latest reply on Jul 26, 2017 by khutchins-esristaff

I am using the fieldInfos to set the content in a popup. At 4.3, I could put html in the label property to take advantage of the title attribute that would show a description of the field when the user hovered. At 4.4, the html is not converted to text. 

fieldInfos: [{
        fieldName: "SufficiencyRating",
        visible: true,
        label: "<span title='An indication of the bridge&rsquo;s capacity to remain in service (0 -100)'>Sufficiency Rating</span>"
    }]

at 4.3: 

(not sure why the screen shot has transparency on the tooltip, please ignore)

 

at 4.4:

 

 

 

Here are a couple JSBins to show the problem:

4.3: JS Bin - Collaborative JavaScript Debugging 

4.4: JS Bin - Collaborative JavaScript Debugging 

 

Is this a bug? Is there another way to accomplish this?

Outcomes