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
Solved! Go to Solution.
Matt
I got it to work by calling the function in the content.
Thanks!
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.