summaryrefslogtreecommitdiff
path: root/site/examples/example.json
diff options
context:
space:
mode:
authorstuebinm2021-04-12 18:07:41 +0200
committerstuebinm2021-04-12 18:07:41 +0200
commit5596ebcbad7721f767972c3143f8e5be1ba8fc09 (patch)
tree4f792eaf042e6d8236690588b4bf59641463002c /site/examples/example.json
parent6b892239f80e8523e02d7348e5483e9a7aea58ee (diff)
add date answer space
for now, this is just a simple date picker done via the html input type "date". Unfortunately, that's not supported by Safari, so the rust util now prints out a warning if it's used. I'm not sure if there's any other reasonable option which would go around this that's not "using a web framework" or "hacking a fallback date picker which just consists of a couple of combo boxes".
Diffstat (limited to 'site/examples/example.json')
-rw-r--r--site/examples/example.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/site/examples/example.json b/site/examples/example.json
index fcd09d8..140fe7f 100644
--- a/site/examples/example.json
+++ b/site/examples/example.json
@@ -1 +1 @@
-{"title":"Test Survey","description":"This is a test survey.","questions":[{"question":"first question","name":"question1","space":"YesOrNo"},{"question":"second question","name":"question2","space":{"Freeform":"test"}},{"question":"third question","name":"question3","space":{"Multiple":["first possible answer","second possible answer","third possible answer"]}}],"pubkey":"age1f380w6eaeuydey65mmu88h4kqv50dda96pxlgkal78sufpnngypqnetmuu","lang":"en"} \ No newline at end of file
+{"title":"Test Survey","description":"This is a test survey.","questions":[{"question":"first question","name":"question1","space":"YesOrNo"},{"question":"second question","name":"question2","space":{"Freeform":"test"}},{"question":"third question","name":"question3","space":{"Multiple":["first possible answer","second possible answer","third possible answer"]}},{"question":"fourth question","name":"question4","space":"Date"}],"pubkey":"age1f380w6eaeuydey65mmu88h4kqv50dda96pxlgkal78sufpnngypqnetmuu","lang":"en"} \ No newline at end of file