Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 3043 | Rev 3269 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 3043 Rev 3047
Línea 44... Línea 44...
44
      description: ''
44
      description: ''
45
    },
45
    },
46
    values: currentEducation
46
    values: currentEducation
47
  })
47
  })
48
  const isCurrent = watch('is_current', 'n') === 'y'
48
  const isCurrent = watch('is_current', 'n') === 'y'
49
  const watchAddress = watch('formatted_address')
-
 
Línea 50... Línea 49...
50
 
49
 
51
  const handleAddress = (address) => {
50
  const handleAddress = (address) => {
52
    Object.entries(address).forEach(([key, value]) => {
51
    Object.entries(address).forEach(([key, value]) => {
53
      if (value) {
52
      if (value) {
Línea 114... Línea 113...
114
 
113
 
115
      <UbicationInput
114
      <UbicationInput
116
        onGetAddress={handleAddress}
115
        onGetAddress={handleAddress}
117
        error={errors.formatted_address?.message}
116
        error={errors.formatted_address?.message}
118
        placeholder='Ubicación'
-
 
119
        settedQuery={watchAddress}
117
        placeholder='Ubicación'
120
      />
118
      />
121
      {errors.formatted_address && (
119
      {errors.formatted_address && (
122
        <FormErrorFeedback>
120
        <FormErrorFeedback>
123
          {errors.formatted_address.message}
121
          {errors.formatted_address.message}