| | |
| | | useDataProvider, |
| | | useNotify, |
| | | Form, |
| | | SelectArrayInput, |
| | | useCreateController, |
| | | } from 'react-admin'; |
| | | import { |
| | |
| | | validate={[required()]} |
| | | /> |
| | | </ReferenceInput> */} |
| | | <AutocompleteInput |
| | | {/* <AutocompleteInput |
| | | choices={dicts} |
| | | source="type" |
| | | optionText="label" |
| | |
| | | optionValue="value" |
| | | parse={v => v} |
| | | validate={[required()]} |
| | | /> |
| | | /> */} |
| | | <ReferenceArrayInput source="typeIds" reference="locType" > |
| | | <SelectArrayInput label="table.field.loc.type" /> |
| | | </ReferenceArrayInput> |
| | | </Grid> |
| | | {/* <Grid item xs={6} display="flex" gap={1}> |
| | | <TextInput |