|  |  |  | 
|---|
|  |  |  | const { getValues } = useFormContext(); | 
|---|
|  |  |  | return ( | 
|---|
|  |  |  | <Toolbar sx={{ justifyContent: 'end' }}> | 
|---|
|  |  |  | <SaveButton /> | 
|---|
|  |  |  | <></> | 
|---|
|  |  |  | {/* <SaveButton /> */} | 
|---|
|  |  |  | {/* <DeleteButton mutationMode="optimistic" /> */} | 
|---|
|  |  |  | </Toolbar> | 
|---|
|  |  |  | ) | 
|---|
|  |  |  | 
|---|
|  |  |  | toolbar={<FormToolbar />} | 
|---|
|  |  |  | mode="onTouched" | 
|---|
|  |  |  | defaultValues={{}} | 
|---|
|  |  |  | sx={{ | 
|---|
|  |  |  | "& .MuiFormLabel-root.MuiInputLabel-root.Mui-disabled": { | 
|---|
|  |  |  | bgcolor: 'white', | 
|---|
|  |  |  | WebkitTextFillColor: "rgba(0, 0, 0)" | 
|---|
|  |  |  | }, | 
|---|
|  |  |  |  | 
|---|
|  |  |  | "& .MuiInputBase-input.MuiFilledInput-input.Mui-disabled": { | 
|---|
|  |  |  | bgcolor: 'white', | 
|---|
|  |  |  | WebkitTextFillColor: "rgba(0, 0, 0)" | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }} | 
|---|
|  |  |  | > | 
|---|
|  |  |  | <Grid container width={{ xs: '100%', xl: '80%' }} rowSpacing={3} columnSpacing={3}> | 
|---|
|  |  |  | <Grid item xs={24} md={16}> | 
|---|
|  |  |  | 
|---|
|  |  |  | </Grid> | 
|---|
|  |  |  | </SimpleForm> | 
|---|
|  |  |  | </Edit > | 
|---|
|  |  |  | <Card sx={{ marginTop: '1em', }}> | 
|---|
|  |  |  | <Grid item xs={24} md={16} sx={{ margin: '1em' }}> | 
|---|
|  |  |  | <Typography variant="h6" gutterBottom > | 
|---|
|  |  |  | {translate('common.edit.title.common')} | 
|---|
|  |  |  | </Typography> | 
|---|
|  |  |  | <TaskItemList /> | 
|---|
|  |  |  | </Grid> | 
|---|
|  |  |  | </Card> | 
|---|
|  |  |  | <Grid item xs={24} md={16} sx={{ margin: '1em', height: 'auto' }}> | 
|---|
|  |  |  | <Typography variant="h6" gutterBottom > | 
|---|
|  |  |  | {translate('common.edit.title.common')} | 
|---|
|  |  |  | </Typography> | 
|---|
|  |  |  | </Grid> | 
|---|
|  |  |  | <TaskItemList /> | 
|---|
|  |  |  | </> | 
|---|
|  |  |  | ) | 
|---|
|  |  |  | } | 
|---|