chakra-ui / chakra-ui-docs

Documentation website for chakra ui
https://chakra-ui.com
MIT License
301 stars 478 forks source link

fix(form-control): remove the htmlFor attribute #1563

Closed sitogi closed 1 year ago

sitogi commented 1 year ago

📝 Description

I fixed the issue where a compile error was occurring because null was being specified for htmlFor. The type of htmlFor is string | undefined. Please refer to @types/react for more information.

⛳️ Current behavior (updates)

image

🚀 New behavior

I removed htmlFor to prevent the compile error from occurring.

💣 Is this a breaking change (Yes/No):

No

📝 Additional Information

If it is preferred to explicitly specify undefined, please let me know.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
chakra-ui-docs ✅ Ready (Inspect) Visit Preview May 5, 2023 1:31pm