aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common/components/LinkField.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-23 09:00:08 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-23 09:00:08 -0700
commit7db8b3f293b8fcbab86a13b2af4e9fee5fd937e1 (patch)
tree893861c605696516c1c4c3d06179ace6376f2765 /modern/src/common/components/LinkField.js
parentb98137ab304e8068484926eb31b77bd727a6407d (diff)
downloadtrackermap-web-7db8b3f293b8fcbab86a13b2af4e9fee5fd937e1.tar.gz
trackermap-web-7db8b3f293b8fcbab86a13b2af4e9fee5fd937e1.tar.bz2
trackermap-web-7db8b3f293b8fcbab86a13b2af4e9fee5fd937e1.zip
Fix select field labels
Diffstat (limited to 'modern/src/common/components/LinkField.js')
-rw-r--r--modern/src/common/components/LinkField.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/modern/src/common/components/LinkField.js b/modern/src/common/components/LinkField.js
index 308ee585..876fa66f 100644
--- a/modern/src/common/components/LinkField.js
+++ b/modern/src/common/components/LinkField.js
@@ -69,9 +69,10 @@ const LinkField = ({
if (items && linked) {
return (
- <FormControl margin={margin} variant={variant}>
+ <FormControl margin={margin} fullWidth>
<InputLabel>{label}</InputLabel>
<Select
+ label={label}
multiple
value={linked}
onChange={onChange}