<FormField
control={form.control}
name="Nom"
render={({ field }) => (
<FormItem>
<FormControl>
<div className="flex flex-col space-y-1.5">
<Label
htmlFor="Nom"
className="text-lg flex justify-between"
>
Nom
<FormMessage />
</Label>
<Input
{...field}
id="Nom"
placeholder="John"
className={` ${
form.formState.errors.Nom &&
"border-err placeholder:text-destructives"
} text-md py-5 placeholder:opacity-40 rounded-sm border-[3px] `}
/>
</div>
</FormControl>
</FormItem>
)}
/>
<FormField
control={form.control}
name="Nom"
render={({ field }) => (
<FormItem>
<FormControl>
<div className="flex flex-col space-y-1.5">
<Label
htmlFor="Nom"
className="text-lg flex justify-between"
>
Nom
<FormMessage />
</Label>
<Input
{...field}
id="Nom"
placeholder="John"
className={` ${
form.formState.errors.Nom &&
"border-err placeholder:text-destructives"
} text-md py-5 placeholder:opacity-40 rounded-sm border-[3px] `}
/>
</div>
</FormControl>
</FormItem>
)}
/>