laptop and a wrench

Bug

HTML elements are not displaying in the pop-up window when created inside a pop-up template in ArcGIS API for JavaScript.

Zuletzt veröffentlicht: February 13, 2020 ArcGIS API for JavaScript
Bug-ID-Nummer BUG-000128230
EingereichtJanuary 29, 2020
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS API for JavaScript
Gefunden in Version4.14
BetriebssystemWindows OS
Betriebssystemversion10.0 64 Bit
StatusWill Not Be Addressed

Zusätzliche Informationen

This change is listed in the breaking changes at version 4.14 of the ArcGIS API for JavaScript. An HTML sanitizer has been added to all widgets, which removes some HTML for security purposes. This causes the HTML set in PopupTemplate.content or in other widgets to be removed. Instead of setting the content as an HTML string, it is recommended to use a function to modify the dom node directly. A code snippet with an example of this functionality is here: https://developers.arcgis.com/javascript/latest/guide/release-notes/#breaking-changes

Schritte zur Reproduzierung

Bug-ID: BUG-000128230

Software:

  • ArcGIS API for JavaScript

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln