|  |  |  | 
|---|
|  |  |  | <TextInput | 
|---|
|  |  |  | label="table.field.menu.route" | 
|---|
|  |  |  | source="route" | 
|---|
|  |  |  | validate={required()} | 
|---|
|  |  |  | parse={v => v} | 
|---|
|  |  |  | /> | 
|---|
|  |  |  | </Grid> | 
|---|
|  |  |  | 
|---|
|  |  |  | <SelectInput | 
|---|
|  |  |  | label="table.field.menu.type" | 
|---|
|  |  |  | source="type" | 
|---|
|  |  |  | validate={required()} | 
|---|
|  |  |  | choices={[ | 
|---|
|  |  |  | { id: 0, name: 'table.field.menu.enums.menu' }, | 
|---|
|  |  |  | { id: 1, name: 'table.field.menu.enums.button' }, | 
|---|
|  |  |  | 
|---|
|  |  |  | <Grid item xs={6} display="flex" gap={1}> | 
|---|
|  |  |  | <StatusSelectInput /> | 
|---|
|  |  |  | </Grid> | 
|---|
|  |  |  | <Grid item xs={12} display="flex" gap={1}> | 
|---|
|  |  |  | <Stack direction="column" spacing={1} width={'100%'}> | 
|---|
|  |  |  | <MemoInput /> | 
|---|
|  |  |  | </Stack> | 
|---|
|  |  |  | <Grid item xs={6} display="flex" gap={1}> | 
|---|
|  |  |  | <TextInput | 
|---|
|  |  |  | label="common.field.memo" | 
|---|
|  |  |  | source="memo" | 
|---|
|  |  |  | parse={v => v} | 
|---|
|  |  |  | fullWidth | 
|---|
|  |  |  | multiline | 
|---|
|  |  |  | minRows={2} | 
|---|
|  |  |  | autoFocus | 
|---|
|  |  |  | /> | 
|---|
|  |  |  | </Grid> | 
|---|
|  |  |  | </Grid> | 
|---|
|  |  |  | ) | 
|---|