@anon
sign up
@anon
sign up
1050 sats
\
1 reply
\
@jeff
24 Apr 2022
\
parent
\
on: Daily discussion thread
...right now, you kind of have like a Schrödinger-cat equivalent of a None/Zero.
Maybe subtle change to the form validation logic:
Current:
{Negative Integer} -> Red ->
"must be at least 1000"
{None} -> Yellow -> lets you post
{0, ..., 999} -> Red ->
"must be at least 1000"
{1000, ...} -> Yellow -> lets you post
Proposed:
{Negative Integer} -> Red ->
"must be 0 or at least 1000"
{None, 0} -> Yellow -> lets you post
{1, ..., 999} -> Red ->
"must be 0 or at least 1000"
{1000, ...} -> Yellow -> lets you post
write
preview
reply
100 sats
0 sats
hot
recent
top
0 sats
\
0 replies
\
@k00b
24 Apr 2022
Ah I get it! I just need to say 0 is allowed!
reply
"must be at least 1000"
"must be at least 1000"
"must be 0 or at least 1000"
"must be 0 or at least 1000"