diff options
author | Matjaž Črnko <m.crnko@txt.si> | 2024-01-19 19:21:02 +0100 |
---|---|---|
committer | Matjaž Črnko <m.crnko@txt.si> | 2024-01-19 19:21:02 +0100 |
commit | 783eccb019824946d758c31f2f945ce2fc80fc2a (patch) | |
tree | 4b5c34e4b15dac4d924d5be356cdf08c990b2cfc /modern/src/settings/ComputedAttributePage.jsx | |
parent | bf2c17247e59a3ee4bdc88647b167918253d231c (diff) | |
download | trackermap-web-783eccb019824946d758c31f2f945ce2fc80fc2a.tar.gz trackermap-web-783eccb019824946d758c31f2f945ce2fc80fc2a.tar.bz2 trackermap-web-783eccb019824946d758c31f2f945ce2fc80fc2a.zip |
wip: Modify SelectField so that it uses Autocomplete component instead of Select with single select
Diffstat (limited to 'modern/src/settings/ComputedAttributePage.jsx')
-rw-r--r-- | modern/src/settings/ComputedAttributePage.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/settings/ComputedAttributePage.jsx b/modern/src/settings/ComputedAttributePage.jsx index 3bae8231..f7ffe36e 100644 --- a/modern/src/settings/ComputedAttributePage.jsx +++ b/modern/src/settings/ComputedAttributePage.jsx @@ -156,7 +156,7 @@ const ComputedAttributePage = () => { </AccordionSummary> <AccordionDetails className={classes.details}> <SelectField - value={deviceId || 0} + value={deviceId || null} onChange={(e) => setDeviceId(Number(e.target.value))} endpoint="/api/devices" label={t('sharedDevice')} |