upgrade LinkedItems component

This commit is contained in:
maxim
2025-03-19 19:38:21 +03:00
parent f07f35acfe
commit b1f4c4649f
2 changed files with 47 additions and 4 deletions

View File

@ -111,13 +111,16 @@ export const RouteEdit = () => {
}
}}
error={!!error}
helperText={error?.message || 'Формат: [[lat1,lon1], [lat2,lon2], ...]'}
helperText={error?.message} // 'Формат: [[lat1,lon1], [lat2,lon2], ...]'
margin="normal"
fullWidth
InputLabelProps={{shrink: true}}
type="text"
label={'Координаты маршрута'}
placeholder="[[1.1, 2.2], [2.1, 4.5]]"
sx={{
marginBottom: 2,
}}
/>
)}
/>