laptop and a wrench

Error

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

Última publicación: February 13, 2020 ArcGIS API for JavaScript
Número de ID del error BUG-000128230
EnviadoJanuary 29, 2020
Última modificaciónJune 5, 2024
Relacionado conArcGIS API for JavaScript
Versión encontrada4.14
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
EstadoWill Not Be Addressed

Información adicional

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

Pasos para reproducir

ID del error: BUG-000128230

Software:

  • ArcGIS API for JavaScript

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga