I found this neat solution to my negative numbers problem https://stackoverflow.com/a/46039201
Here it is below
onInput={(e)=>{
e.target.value = !!e.target.value && Math.abs(e.target.value) >= 0 ? Math.abs(e.target.value) : null;
}}
But I have a bit of an issue it only allows numbers and I do require decimal places because these inputs are for currencies such as activation fee, billing amount and such. Otherwise than that the above solution works like a charm
Does anyone here have a similar solution or something that can be added to this to make it accept decimal places ?
Ive tried looking into some others but then the user can type in -1111 and it saves it even if you add min={0}
to the input field