chore: fix label for attribute in registry examples
`html-for` -> `for`
This commit is contained in:
parent
24027aa1a1
commit
f82e4011e6
|
|
@ -22,11 +22,11 @@ import { Button } from '@/lib/registry/default/ui/button'
|
|||
<form>
|
||||
<div class="grid items-center w-full gap-4">
|
||||
<div class="flex flex-col space-y-1.5">
|
||||
<Label html-for="name">Name</Label>
|
||||
<Label for="name">Name</Label>
|
||||
<Input id="name" placeholder="Name of your project" />
|
||||
</div>
|
||||
<div class="flex flex-col space-y-1.5">
|
||||
<Label html-for="framework">Framework</Label>
|
||||
<Label for="framework">Framework</Label>
|
||||
<Select>
|
||||
<SelectTrigger id="framework">
|
||||
<SelectValue placeholder="Select" />
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ import { Label } from '@/lib/registry/default/ui/label'
|
|||
</DialogHeader>
|
||||
<div class="flex items-center space-x-2">
|
||||
<div class="grid flex-1 gap-2">
|
||||
<Label html-for="link" class="sr-only">
|
||||
<Label for="link" class="sr-only">
|
||||
Link
|
||||
</Label>
|
||||
<Input
|
||||
|
|
|
|||
|
|
@ -22,11 +22,11 @@ import { Button } from '@/lib/registry/new-york/ui/button'
|
|||
<form>
|
||||
<div class="grid items-center w-full gap-4">
|
||||
<div class="flex flex-col space-y-1.5">
|
||||
<Label html-for="name">Name</Label>
|
||||
<Label for="name">Name</Label>
|
||||
<Input id="name" placeholder="Name of your project" />
|
||||
</div>
|
||||
<div class="flex flex-col space-y-1.5">
|
||||
<Label html-for="framework">Framework</Label>
|
||||
<Label for="framework">Framework</Label>
|
||||
<Select>
|
||||
<SelectTrigger id="framework">
|
||||
<SelectValue placeholder="Select" />
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ import { Label } from '@/lib/registry/new-york/ui/label'
|
|||
</DialogHeader>
|
||||
<div class="flex items-center space-x-2">
|
||||
<div class="grid flex-1 gap-2">
|
||||
<Label html-for="link" class="sr-only">
|
||||
<Label for="link" class="sr-only">
|
||||
Link
|
||||
</Label>
|
||||
<Input
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user