diff options
author | Matjaž Črnko <matjaz.crnko@gmail.com> | 2024-01-23 16:31:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-23 16:31:04 +0100 |
commit | b87f2387ae597e57d9e2591ab01595e76b65d7c5 (patch) | |
tree | 0b20e1186ccf8c3d355578bb0a6096057cc19cc9 /modern | |
parent | 7fe52f39c7ccd1e7bfeb07b1480b9b25a08226ab (diff) | |
download | trackermap-web-b87f2387ae597e57d9e2591ab01595e76b65d7c5.tar.gz trackermap-web-b87f2387ae597e57d9e2591ab01595e76b65d7c5.tar.bz2 trackermap-web-b87f2387ae597e57d9e2591ab01595e76b65d7c5.zip |
Update modern/src/common/components/SelectField.jsx
Co-authored-by: Anton Tananaev <anton.tananaev@gmail.com>
Diffstat (limited to 'modern')
-rw-r--r-- | modern/src/common/components/SelectField.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/common/components/SelectField.jsx b/modern/src/common/components/SelectField.jsx index ee512a78..c7efe75f 100644 --- a/modern/src/common/components/SelectField.jsx +++ b/modern/src/common/components/SelectField.jsx @@ -64,7 +64,7 @@ const SelectField = ({ )} isOptionEqualToValue={(option, value) => keyGetter(option) == value} value={value} - onChange={(_, value) => {onChange({ target: { value: value ? keyGetter(value) : emptyValue }})}} + onChange={(_, value) => onChange({ target: { value: value ? keyGetter(value) : emptyValue }})} renderInput={(params) => <TextField {...params} label={label} />} /> )} |