Hi, I cannot figure how I can work with tooltips in a list.
I've followed the color field tutorial
https://payloadcms.com/blog/building-a-custom-field, and I want to add a tooltip on hovering each item. I attached a photo with the code.
Basically the tooltips are never showing, I don't get what I should be doing 😦
I recently added a tooltip plugin to Payload
Maybe that could give you some ideas?
thank you,
@1049775120559898725!
i've actually re-written the tooltip component a bit differently than payload does it, and it works like this
So it is working now?
yes 👌
I tried to use this plugin but I get the following error.
/home/.../node_modules/payload-label-popover/src/index.ts:1
export { labelPopoverPlugin } from './plugin'
^^^^^^
SyntaxError: Unexpected token 'export'Star
Discord
online
Get dedicated engineering support directly from the Payload team.