pnp / List-Formatting

List Formatting Samples for use in SharePoint and Microsoft Lists
https://pnp.github.io/List-Formatting/
MIT License
1.7k stars 822 forks source link

Updating the reference to ImgHover to fix the broken image #708

Closed stevecorey365 closed 9 months ago

stevecorey365 commented 10 months ago

ImgHover represents an object, not a string. Adding ".serverRelativeUrl" will properly reference the image URL, fixing the issue.

Q A
Bug fix? yes
New sample? no
Related issues? no (unreported)

What's in this Pull Request?

A tweak to the ImgHover field reference. The JSON currently doesn't display the image as suggested by the screenshot. This tweak properly references the ImgHover field as an object, and uses the serverRelativeUrl property to get the image URL.

tecchan1107 commented 9 months ago

Sorry for the delay! And thank you so much for the fix @stevecorey365 🤩🙏✨

tecchan1107 commented 9 months ago

If you are interested, please register for the following program. When you register, you will get a digital badge! M365 Platform & Power Platform Community Recognition Program

※Even if you register, it will not be distributed immediately. It will take some time before it is distributed.