Skip to content

Commit f089a1b

Browse files
authored
Update forms.mdx
1 parent 19e84f8 commit f089a1b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/docs/src/pages/components/forms.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ import {
2626
onSubmit={e => e.preventDefault()}>
2727
<Label htmlFor='username'>Username</Label>
2828
<Input
29-
name='username'
29+
id='username'
3030
mb={3}
3131
/>
3232
<Label htmlFor='password'>Password</Label>
3333
<Input
3434
type='password'
35-
name='password'
35+
id='password'
3636
mb={3}
3737
/>
3838
<Box>
@@ -42,14 +42,14 @@ import {
4242
</Label>
4343
</Box>
4444
<Label htmlFor='sound'>Sound</Label>
45-
<Select name='sound' mb={3}>
45+
<Select id='sound' mb={3}>
4646
<option>Beep</option>
4747
<option>Boop</option>
4848
<option>Blip</option>
4949
</Select>
5050
<Label htmlFor='comment'>Comment</Label>
5151
<Textarea
52-
name='comment'
52+
id='comment'
5353
rows='6'
5454
mb={3}
5555
/>

0 commit comments

Comments
 (0)