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