I'm not sure what should be the desirable behavior. We validate val before consume it, to make sure that it is a number and then either: show an error (something like "!" in red?) or just reuse the old one.
I'm not sure what triggered this, and couldn't see from where val comes from, but I think that we should validate data before using it anyways.
I'm not sure what should be the desirable behavior. We validate
val
before consume it, to make sure that it is a number and then either: show an error (something like "!" in red?) or just reuse the old one.I'm not sure what triggered this, and couldn't see from where
val
comes from, but I think that we should validate data before using it anyways.