function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ming MaMing Ma 

SLDS Modals Sample Code Not Working

I use the sample code from here

When trying to save it, I got an error: "Failed to save TestLC2.cmp: null: Source"

It is related to this line
<svg class="slds-button__icon slds-button__icon_large" aria-hidden="true"> <use xmlns:xlink="" xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#close" /> </svg>

Does anyone know how to fix this error?


MingUser-added image
Best Answer chosen by Ming Ma
Ming MaMing Ma
I worked this out. This component dosen't support standalone apps.