The grid (rendering) ยท console.warn
An empty icon value at {key} renders nothing; omit `icon` instead.
Printed by The grid (rendering), prefixed [lattice], since 1.15.0.
Warnings reference › icon:empty:*
- Identifier
icon:empty:*- Raised by
- The grid (rendering)
- Since
- 1.15.0
What happened
An icon slot was given the empty string. That is not the same as omitting the icon - it says "there is an icon here" and then draws nothing - so the slot renders empty and the difference is named. null and undefined are the supported way to say there is no icon and are not reported.
The fix
Omit the icon property, or give it null, when there is no icon.
Reference
Covered in full at the API reference.