Closed VirginiaDooley closed 1 month ago
Nice.
I think both of these fields can have the following:
"onchange": "this.value = Math.round(this.value.replace(/\D/g, '')).toString()",
This removes all non-numeric chars. The reason for this is that as the code stands in this PR we get NaN
if you enter a % in the percentage field, something I can see users doing.
Demo https://vimeo.com/984319731/d05951fa88?share=copy
In response to requests for an improved UX for entering results, this PR: