I am only having this issue on firefox, it works as expected on chrome.
If I have a number input with a value of "20.00" or 20.00 (as a string or number) it always shows 20 without the decimal spaces inside the input box.
I need the type="number"
so avoid other inputs that aren't numbers because of internal calculations that are done after the input.
For example:
<label>Input with number value as string</label>
<input type="number" value="20.00" step="0.01">
<br>
Input with number value as number
<input type="number" value=20.00 step="0.01">
How can I have the value inside the input show with the 2 decimal values in firefox?