thecointech / thecoin

Mono-repo for TheCoin project
https://thecoin.io
GNU Affero General Public License v3.0
4 stars 1 forks source link

UxInput should set `null` on failed validation #370

Open FrozenKiwi opened 2 years ago

FrozenKiwi commented 2 years ago

undefined should mean no value null means value did not pass

FrozenKiwi commented 2 years ago

Motivation: On submit eTransfer: message is stripped if it is invalid. Instead, submission should be halted. However, we don't know whether or not the value is invalid or simply not there.