Issue in PopupTemplate Content 4.14

7260
11
Jump to solution
01-02-2020 02:01 AM
MatthieuThery1
Occasional Contributor

Hi,

It seems I am now unable to set a class/id etc to a div using the content properties of the popuptemplate. It used to work fine in the 4.13. It's pretty annoying as it means we can't style our popups like we used to and have to keep using 4.13. 

Is there a workaround, or a reason why it changed?

Below is a Pen built using one of the API sample. As you can see the class property doesn't come through. If you switch back to 4.13, then it does.

https://codepen.io/mtrsklnkvMM/pen/rNaGEYo 

Tags (1)
11 Replies
JayHill
Occasional Contributor II

Matt

I got it to work by calling the function in the content.

Thanks!

0 Kudos
ZacharyStauber1
New Contributor III

I have this same problem.  Trying to port some stuff from 3.x to 4.x where I reference a div with an id and then fill it later with an asynchronous xhr query.  In 4.13 I can set the id and class in a popupTemplate.content with no problem.  In 4.15 I can set the class, but the id is stripped.  Doing this with the workaround seems will require a ton of refactoring.

0 Kudos