0 sats \ 2 replies \ @k00b 24 Apr 2022 \ parent \ on: Daily discussion thread
Hmmm I can see why that'd be confusing. I'm just not sure how to design it otherwise. Any ideas?
...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
reply
Ah I get it! I just need to say 0 is allowed!
reply