placeholder al crear un usuario corregido

This commit is contained in:
2025-06-20 12:24:14 -04:00
parent 4ef71d5900
commit f87f235967
3 changed files with 4 additions and 9 deletions

View File

@@ -171,9 +171,7 @@ export function UpdateUserForm({
render={({ field }) => (
<FormItem className="w-full">
<FormLabel>Rol</FormLabel>
<Select onValueChange={(value) => field.onChange(Number(value))}
// defaultValue={String(field.value)}
>
<Select onValueChange={(value) => field.onChange(Number(value))}>
<FormControl>
<SelectTrigger className="w-full">
<SelectValue placeholder="Selecciona un rol" />