ui
ui copied to clipboard
Fix radio group input
This PR adds a useEffect hook to set the id attribute for the input element inside RadioGroupPrimitive.Item. This change addresses a Chrome issue: "A form field element should have an id or name attribute."
Although the autoComplete prop is not really used in the context of a radio group, adding the id prevents the warning and improves accessibility without affecting the functionality.
@RayRizzling is attempting to deploy a commit to the shadcn-pro Team on Vercel.
A member of the Team first needs to authorize it.
This PR has been automatically marked as stale due to one year of inactivity. It will be closed in 7 days unless there’s further input. If you believe this PR is still relevant, please leave a comment or provide updated details. Thank you. (This is an automated message)
This PR has been automatically closed due to one year of inactivity. Thank you for your understanding! (This is an automated message)