SIGN IN SIGN UP

fix: FormItemLayout does not apply item id correctly (#49593)

## Problem

`<FormItemLayout>` does not apply item id correctly. This can be seen on
https://supabase.com/design-system/docs/ui-patterns/forms: open the
devtool and check the form items labels. They have no `for` attribute.
This makes it harder to correctly test and is an accessibility issue.

Axe devtool actually report it

## Solution

When inside React Hook Form, `<FormItemLayout>` actually generate an
`id` (via `<FormItem>`). However, this `id` is overridden in
`<FormLayout>` and read from context by `<FormLabel>`. Simply removing
this line fixes it and correctly binds the label to its input
G
Gildas Garcia committed
df48528443f9be6362497f628dbf03307a8d148d
Parent: 961fc74
Committed by GitHub <noreply@github.com> on 8/27/2026, 7:00:11 AM