ui icon indicating copy to clipboard operation
ui copied to clipboard

Fix radio group input

Open RayRizzling opened this issue 1 year ago • 1 comments
trafficstars

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 avatar Sep 28 '24 17:09 RayRizzling

@RayRizzling is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Sep 28 '24 17:09 vercel[bot]

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)

shadcn avatar Sep 28 '25 23:09 shadcn

This PR has been automatically closed due to one year of inactivity. Thank you for your understanding! (This is an automated message)

shadcn avatar Oct 06 '25 23:10 shadcn