laptop and a wrench

Bogue

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

Dernière publication: February 13, 2020 ArcGIS API for JavaScript
Numéro d’ID de bogue BUG-000128230
EnvoiJanuary 29, 2020
Dernière modificationJune 5, 2024
S’applique àArcGIS API for JavaScript
Version trouvée4.14
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutWill Not Be Addressed

Informations supplémentaires

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

Étapes pour reproduire

ID de bogue: BUG-000128230

Logiciel:

  • ArcGIS API for JavaScript

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement