fix: v-bind="field" -> v-bind="componentField"
This commit is contained in:
parent
157b1f00df
commit
ec7382bec8
|
|
@ -73,11 +73,11 @@ const onSubmit = handleSubmit((values) => {
|
||||||
</div>
|
</div>
|
||||||
<Separator />
|
<Separator />
|
||||||
<form class="space-y-8" @submit="onSubmit">
|
<form class="space-y-8" @submit="onSubmit">
|
||||||
<FormField v-slot="{ field }" name="username">
|
<FormField v-slot="{ componentField }" name="username">
|
||||||
<FormItem>
|
<FormItem>
|
||||||
<FormLabel>Username</FormLabel>
|
<FormLabel>Username</FormLabel>
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<Input type="text" placeholder="shadcn" v-bind="field" />
|
<Input type="text" placeholder="shadcn" v-bind="componentField" />
|
||||||
</FormControl>
|
</FormControl>
|
||||||
<FormDescription>
|
<FormDescription>
|
||||||
This is your public display name. It can be your real name or a pseudonym. You can only change this once every 30 days.
|
This is your public display name. It can be your real name or a pseudonym. You can only change this once every 30 days.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user