aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common/components
diff options
context:
space:
mode:
authorMatjaž Črnko <m.crnko@txt.si>2024-01-22 20:05:32 +0100
committerMatjaž Črnko <m.crnko@txt.si>2024-01-22 20:05:32 +0100
commit829fa6caac936cc53395ca4fe7f05e13c2841588 (patch)
tree9a7ad20d934f4eb9360e51a52532407407a366fa /modern/src/common/components
parenta0aaf68016db18a2ee69fddf74fcdbe72c9f5f17 (diff)
downloadtrackermap-web-829fa6caac936cc53395ca4fe7f05e13c2841588.tar.gz
trackermap-web-829fa6caac936cc53395ca4fe7f05e13c2841588.tar.bz2
trackermap-web-829fa6caac936cc53395ca4fe7f05e13c2841588.zip
fix: SelectField default emptyValue to null
Diffstat (limited to 'modern/src/common/components')
-rw-r--r--modern/src/common/components/SelectField.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/common/components/SelectField.jsx b/modern/src/common/components/SelectField.jsx
index 920c2640..3d25ca8e 100644
--- a/modern/src/common/components/SelectField.jsx
+++ b/modern/src/common/components/SelectField.jsx
@@ -9,7 +9,7 @@ const SelectField = ({
fullWidth,
multiple,
value,
- emptyValue = 0,
+ emptyValue = null,
emptyTitle = '\u00a0',
onChange,
endpoint,