79408056

Date: 2025-02-03 07:15:06
Score: 1.5
Natty:
Report link

Issue seems to come from Google Translate adding element to the page that NextJS does not know of.

2 solutions (more a workaround) are proposed on a shadcn issue:

<Select>
  <SelectTrigger>
    <SelectValue/>
  </SelectTrigger>
  <SelectContent>
    {menuItems.map((item) => (
      <SelectItem key={item} value={item}>
        <span>{item}</span>
      </SelectItem>
    ))}
  </SelectContent>
</Select>

Thanks a lot to @Radim Vaculik for its help!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @for
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Samuel Amann