laptop and a wrench

Erro

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

Última Publicação: February 13, 2020 ArcGIS API for JavaScript
Número de ID do Erro BUG-000128230
EnviadoJanuary 29, 2020
Última ModificaçãoJune 5, 2024
Aplica-se àArcGIS API for JavaScript
Versão encontrada4.14
Sistema OperacionalWindows OS
Versão do Sistema Operacional10.0 64 Bit
StatusWill Not Be Addressed

Informações Adicionais

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

Etapas para Reproduzir

ID do Erro: BUG-000128230

Software:

  • ArcGIS API for JavaScript

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download