Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 1392 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1392 Rev 1401
Línea 3... Línea 3...
3
import { InputBase, MenuItem, Select, styled } from '@mui/material'
3
import { InputBase, MenuItem, Select, styled } from '@mui/material'
Línea 4... Línea 4...
4
 
4
 
Línea 5... Línea 5...
5
import FormErrorFeedback from './FormErrorFeedback'
5
import FormErrorFeedback from './FormErrorFeedback'
6
 
-
 
7
const BootstrapInput = styled(InputBase)(({ theme }) => ({
6
 
8
  width: '100%',
7
const BootstrapInput = styled(InputBase)(({ theme }) => ({
9
  'label + &': {
8
  'label + &': {
10
    marginTop: theme.spacing(3)
9
    marginTop: theme.spacing(3)
11
  },
10
  },
12
  '& .MuiInputBase-input': {
11
  '& .MuiInputBase-input': {
13
    borderRadius: 4,
12
    borderRadius: 4,
14
    position: 'relative',
13
    position: 'relative',
15
    backgroundColor: theme.palette.background.default,
14
    backgroundColor: theme.palette.background.default,
16
    border: '1px solid #ced4da',
15
    border: '1px solid var(--border-primary)',
17
    fontSize: 16,
16
    fontSize: 16,
18
    padding: '10px 26px 10px 12px',
-
 
19
    transition: theme.transitions.create(['border-color', 'box-shadow']),
-
 
20
 
-
 
21
    '&:focus': {
-
 
22
      borderRadius: 4,
-
 
23
      borderColor: '#80bdff',
-
 
24
      boxShadow: '0 0 0 0.2rem rgba(0,123,255,.25)'
17
    padding: '10px 26px 10px 12px',
25
    }
18
    transition: theme.transitions.create(['border-color', 'box-shadow'])
Línea 26... Línea 19...
26
  }
19
  }
27
}))
20
}))
Línea 56... Línea 49...
56
        ref={field.ref}
49
        ref={field.ref}
57
        value={field.value}
50
        value={field.value}
58
        {...rest}
51
        {...rest}
59
        input={<BootstrapInput />}
52
        input={<BootstrapInput />}
60
        displayEmpty
53
        displayEmpty
-
 
54
        fullWidth
61
      >
55
      >
62
        <MenuItem value=''>{label}</MenuItem>
56
        <MenuItem value=''>{label}</MenuItem>
63
        {options.map(({ name, value }) => (
57
        {options.map(({ name, value }) => (
64
          <MenuItem key={value} value={value}>
58
          <MenuItem key={value} value={value}>
65
            {name}
59
            {name}