This commit is contained in:
seb
2026-10-08 18:48:28 +02:00
parent 30b573cc63
commit b165f86811
10 changed files with 139 additions and 30 deletions

View File

@@ -22,7 +22,7 @@ import TableCell from '@mui/material/TableCell';
import TableContainer from '@mui/material/TableContainer';
import TableHead from '@mui/material/TableHead';
import TableRow from '@mui/material/TableRow';
import TextField from '@mui/material/TextField';
import TextInput from './TextInput';
import ToggleButton from '@mui/material/ToggleButton';
import ToggleButtonGroup from '@mui/material/ToggleButtonGroup';
import Typography from '@mui/material/Typography';
@@ -331,7 +331,7 @@ class CompanySetupDialog extends Component {
<Typography variant="subtitle2">Neues Unternehmen anlegen</Typography>
) : null}
<TextField
<TextInput
fullWidth
required
size="small"
@@ -339,7 +339,6 @@ class CompanySetupDialog extends Component {
value={name}
disabled={busy}
onChange={(e) => this.setState({ name: e.target.value })}
autoComplete="organization"
autoFocus={!hasCompanies}
/>
@@ -361,7 +360,7 @@ class CompanySetupDialog extends Component {
</FormControl>
<Stack direction="row" spacing={2}>
<TextField
<TextInput
fullWidth
required
size="small"
@@ -378,7 +377,7 @@ class CompanySetupDialog extends Component {
htmlInput: { min: 0, max: 100, step: 0.01, required: true },
}}
/>
<TextField
<TextInput
fullWidth
required
size="small"
@@ -460,7 +459,7 @@ class CompanySetupDialog extends Component {
</Box>
</TableCell>
<TableCell>
<TextField
<TextInput
size="small"
value={cfg.prefix}
disabled={busy}
@@ -470,7 +469,7 @@ class CompanySetupDialog extends Component {
/>
</TableCell>
<TableCell>
<TextField
<TextInput
size="small"
type="number"
value={cfg.padding}
@@ -480,7 +479,7 @@ class CompanySetupDialog extends Component {
/>
</TableCell>
<TableCell>
<TextField
<TextInput
size="small"
type="number"
value={cfg.next}