corregido schema training quitado opcional del formulario varios campos
This commit is contained in:
@@ -109,8 +109,10 @@ export function CreateTrainingForm({
|
||||
productiveActivity: defaultValues?.productiveActivity || undefined,
|
||||
ecoSector: defaultValues?.ecoSector || undefined,
|
||||
productiveSector: defaultValues?.productiveSector || undefined,
|
||||
centralProductiveActivity: defaultValues?.centralProductiveActivity || undefined,
|
||||
mainProductiveActivity: defaultValues?.mainProductiveActivity || undefined,
|
||||
centralProductiveActivity:
|
||||
defaultValues?.centralProductiveActivity || undefined,
|
||||
mainProductiveActivity:
|
||||
defaultValues?.mainProductiveActivity || undefined,
|
||||
|
||||
photo1: defaultValues?.photo1 || '',
|
||||
photo2: defaultValues?.photo2 || '',
|
||||
@@ -1208,7 +1210,7 @@ export function CreateTrainingForm({
|
||||
render={({ field }) => (
|
||||
<FormItem className="w-full flex flex-col space-y-2">
|
||||
<FormLabel className="font-semibold">
|
||||
Rif de la Comuna (opcional)
|
||||
Rif de la Comuna
|
||||
</FormLabel>
|
||||
<FormControl>
|
||||
<Input {...field} value={field.value ?? ''} />
|
||||
@@ -1224,7 +1226,7 @@ export function CreateTrainingForm({
|
||||
render={({ field }) => (
|
||||
<FormItem className="w-full flex flex-col space-y-2">
|
||||
<FormLabel className="font-semibold">
|
||||
Nombre del Vocero o Vocera (opcional)
|
||||
Nombre del Vocero o Vocera
|
||||
</FormLabel>
|
||||
<FormControl>
|
||||
<Input {...field} value={field.value ?? ''} />
|
||||
@@ -1240,7 +1242,7 @@ export function CreateTrainingForm({
|
||||
render={({ field }) => (
|
||||
<FormItem className="w-full flex flex-col space-y-2">
|
||||
<FormLabel className="font-semibold">
|
||||
Número de Teléfono del Vocero (opcional)
|
||||
Número de Teléfono del Vocero
|
||||
</FormLabel>
|
||||
<FormControl>
|
||||
<Input
|
||||
@@ -1322,7 +1324,7 @@ export function CreateTrainingForm({
|
||||
render={({ field }) => (
|
||||
<FormItem className="w-full flex flex-col space-y-2">
|
||||
<FormLabel className="font-semibold">
|
||||
Rif del Consejo Comunal (opcional)
|
||||
Rif del Consejo Comunal
|
||||
</FormLabel>
|
||||
<FormControl>
|
||||
<Input {...field} value={field.value ?? ''} />
|
||||
@@ -1338,7 +1340,7 @@ export function CreateTrainingForm({
|
||||
render={({ field }) => (
|
||||
<FormItem className="w-full flex flex-col space-y-2">
|
||||
<FormLabel className="font-semibold">
|
||||
Nombre del Vocero o Vocera (opcional)
|
||||
Nombre del Vocero o Vocera
|
||||
</FormLabel>
|
||||
<FormControl>
|
||||
<Input {...field} value={field.value ?? ''} />
|
||||
@@ -1354,7 +1356,7 @@ export function CreateTrainingForm({
|
||||
render={({ field }) => (
|
||||
<FormItem className="w-full flex flex-col space-y-2">
|
||||
<FormLabel className="font-semibold">
|
||||
Número de Teléfono del Vocero (opcional)
|
||||
Número de Teléfono del Vocero
|
||||
</FormLabel>
|
||||
<FormControl>
|
||||
<Input
|
||||
|
||||
Reference in New Issue
Block a user