aboutsummaryrefslogtreecommitdiff
path: root/modern/src/settings/components/EditAttributesView.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-23 07:30:04 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-23 07:30:04 -0700
commite7e8d1c9a52b9b82fdcbf2d4d6f3134698eb0cf0 (patch)
tree4249ebb4305bf6ec28bf54ba9d009494e018bc61 /modern/src/settings/components/EditAttributesView.js
parent85461684eb402d4df62c8b59e0a0f627bd3487c1 (diff)
downloadtrackermap-web-e7e8d1c9a52b9b82fdcbf2d4d6f3134698eb0cf0.tar.gz
trackermap-web-e7e8d1c9a52b9b82fdcbf2d4d6f3134698eb0cf0.tar.bz2
trackermap-web-e7e8d1c9a52b9b82fdcbf2d4d6f3134698eb0cf0.zip
Convert to outline inputs
Diffstat (limited to 'modern/src/settings/components/EditAttributesView.js')
-rw-r--r--modern/src/settings/components/EditAttributesView.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/modern/src/settings/components/EditAttributesView.js b/modern/src/settings/components/EditAttributesView.js
index da730538..d714c489 100644
--- a/modern/src/settings/components/EditAttributesView.js
+++ b/modern/src/settings/components/EditAttributesView.js
@@ -3,7 +3,7 @@ import React, { useState } from 'react';
import {
Button,
Checkbox,
- FilledInput,
+ OutlinedInput,
FormControl,
FormControlLabel,
Grid,
@@ -173,9 +173,9 @@ const EditAttributesView = ({ attributes, setAttributes, definitions }) => {
);
}
return (
- <FormControl variant="filled" margin="normal" key={key}>
+ <FormControl margin="normal" key={key}>
<InputLabel>{getAttributeName(key, subtype)}</InputLabel>
- <FilledInput
+ <OutlinedInput
type={type === 'number' ? 'number' : 'text'}
value={getDisplayValue(value, subtype)}
onChange={(e) => updateAttribute(key, e.target.value, type, subtype)}