feat: add sight short_name and sight features
This commit is contained in:
@@ -237,6 +237,21 @@ export const CreateInformationTab = observer(
|
||||
variant="outlined"
|
||||
/>
|
||||
|
||||
<TextField
|
||||
label={`Сокращенное название (${language.toUpperCase()})`}
|
||||
value={data.short_name || ""}
|
||||
onChange={(e) => {
|
||||
handleChange(
|
||||
{
|
||||
short_name: e.target.value,
|
||||
},
|
||||
language
|
||||
);
|
||||
}}
|
||||
fullWidth
|
||||
variant="outlined"
|
||||
/>
|
||||
|
||||
<TextField
|
||||
label="Адрес"
|
||||
value={data.address}
|
||||
|
||||
@@ -241,6 +241,18 @@ export const InformationTab = observer(
|
||||
variant="outlined"
|
||||
/>
|
||||
|
||||
<TextField
|
||||
label={`Сокращенное название (${language.toUpperCase()})`}
|
||||
value={sight[language].short_name || ""}
|
||||
onChange={(e) => {
|
||||
handleChange(language as Language, {
|
||||
short_name: e.target.value,
|
||||
});
|
||||
}}
|
||||
fullWidth
|
||||
variant="outlined"
|
||||
/>
|
||||
|
||||
<TextField
|
||||
label="Адрес"
|
||||
value={sight[language].address}
|
||||
|
||||
Reference in New Issue
Block a user