Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 3234 Rev 3238
Línea 29... Línea 29...
29
        name={name}
29
        name={name}
30
        control={control}
30
        control={control}
31
        defaultValue={defaultValue}
31
        defaultValue={defaultValue}
32
        rules={rules}
32
        rules={rules}
33
        render={({ field }) => (
33
        render={({ field }) => (
34
          <FormControl variant='standard' fullWidth>
34
          <FormControl variant='standard' fullWidth sx={style}>
35
            {label && <InputLabel shrink>{label}</InputLabel>}
35
            {label && <InputLabel shrink>{label}</InputLabel>}
Línea 36... Línea 36...
36
 
36
 
37
            <InputBase
37
            <InputBase
38
              {...field}
38
              {...field}
Línea 41... Línea 41...
41
              }}
41
              }}
42
              startAdornment={
42
              startAdornment={
43
                icon ? <InputAdornment>{icon}</InputAdornment> : null
43
                icon ? <InputAdornment>{icon}</InputAdornment> : null
44
              }
44
              }
45
              fullWidth
45
              fullWidth
46
              sx={style}
-
 
47
              {...props}
46
              {...props}
48
            />
47
            />
Línea 49... Línea 48...
49
 
48
 
50
            {error ? <FormErrorFeedback>{error}</FormErrorFeedback> : null}
49
            {error ? <FormErrorFeedback>{error}</FormErrorFeedback> : null}
Línea 53... Línea 52...
53
      />
52
      />
54
    )
53
    )
55
  }
54
  }
Línea 56... Línea 55...
56
 
55
 
57
  return (
56
  return (
58
    <FormControl variant='standard' fullWidth>
57
    <FormControl variant='standard' fullWidth sx={style}>
Línea 59... Línea 58...
59
      {label && <InputLabel shrink>{label}</InputLabel>}
58
      {label && <InputLabel shrink>{label}</InputLabel>}
60
 
59
 
61
      <InputBase
60
      <InputBase
Línea 66... Línea 65...
66
        inputProps={{
65
        inputProps={{
67
          accept
66
          accept
68
        }}
67
        }}
69
        startAdornment={icon ? <InputAdornment>{icon}</InputAdornment> : null}
68
        startAdornment={icon ? <InputAdornment>{icon}</InputAdornment> : null}
70
        fullWidth
69
        fullWidth
71
        sx={style}
-
 
72
        {...props}
70
        {...props}
73
      />
71
      />
Línea 74... Línea 72...
74
 
72
 
75
      {error ? <FormErrorFeedback>{error}</FormErrorFeedback> : null}
73
      {error ? <FormErrorFeedback>{error}</FormErrorFeedback> : null}