update
This commit is contained in:
@@ -52,6 +52,7 @@ import {
|
||||
} from '@mui/icons-material';
|
||||
import DashboardLayout from '../components/dashboard/DashboardLayout';
|
||||
import ChatAwareFab from '../components/shared/ChatAwareFab';
|
||||
import GermanDateField from '../components/shared/GermanDateField';
|
||||
import { toGermanDate, toGermanDateTime, fromGermanDate, fromGermanDateTime } from '../utils/dateInput';
|
||||
import { usePermissionContext } from '../contexts/PermissionContext';
|
||||
import { useNotification } from '../contexts/NotificationContext';
|
||||
@@ -1016,16 +1017,15 @@ function EventFormDialog({
|
||||
</FormControl>
|
||||
)}
|
||||
|
||||
<TextField
|
||||
<GermanDateField
|
||||
label="Wiederholen bis"
|
||||
type="date"
|
||||
size="small"
|
||||
mode="date"
|
||||
value={form.wiederholung.bis}
|
||||
onChange={(e) => {
|
||||
const w = { ...form.wiederholung!, bis: e.target.value };
|
||||
onChange={(iso) => {
|
||||
const w = { ...form.wiederholung!, bis: iso };
|
||||
handleChange('wiederholung', w);
|
||||
}}
|
||||
InputLabelProps={{ shrink: true }}
|
||||
fullWidth
|
||||
helperText="Enddatum der Wiederholungsserie"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user