A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
You could create your own DisplayTemplates that will be used instead of the default ones. See this post for more information: http://joelabrahamsson.com/how-episervers-html-helper-propertyfor-works/.
Hope this helps.
Frederik
Hello,
Any recommendations on the best way to generate clean markup when you have optional properties in a block or page?
For example, I might have something like this:
If that property isn't populated, we end up with an empty
tag.
I've done something like this:
That can get repetetive, are there any common ways to tackle this issue?
Thanks,