« get me outta code hell

data: inputWikiData: generally accept leaving unspecified - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/composite/wiki-data/inputWikiData.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-01-10 22:24:49 -0400
committer(quasar) nebula <qznebula@protonmail.com>2025-01-10 22:24:49 -0400
commit35bcdcf40b33494042069a10617707fd0b4fca22 (patch)
treed809f698f9af609a9bf930e491cae76061fc5283 /src/data/composite/wiki-data/inputWikiData.js
parent15fd5a5bf9331a6b407d697cfae5c0ed6971a4ab (diff)
data: inputWikiData: generally accept leaving unspecified
Diffstat (limited to 'src/data/composite/wiki-data/inputWikiData.js')
-rw-r--r--src/data/composite/wiki-data/inputWikiData.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data/composite/wiki-data/inputWikiData.js b/src/data/composite/wiki-data/inputWikiData.js
index cf7a7c2c..b9021986 100644
--- a/src/data/composite/wiki-data/inputWikiData.js
+++ b/src/data/composite/wiki-data/inputWikiData.js
@@ -12,6 +12,6 @@ export default function inputWikiData({
 } = {}) {
   return input({
     validate: validateWikiData({referenceType, allowMixedTypes}),
-    acceptsNull: true,
+    defaultValue: null,
   });
 }