Open peetzweg opened 1 year ago
@statictype can you confirm this is unintended behavior?
this normal behaviour for the html number input. if we don't want it we need to change to type="text"
Ah okay, this could be it. I find it quite awkward behaviour. Should we fix this than?
@statictype should we close this ?
Describe the bug The default value of a number input during contract interaction can not be removed. It seems the there always needs a value to be present. See demo down below.
To Reproduce Steps to reproduce the behavior:
0
with a backspaceExpected behavior I'm able to clear the default input value with a backspace to enter the number I want. Currently I have to move the caret to the start to remove the zero once I've entered the desired amount.
Screenshots
Desktop (please complete the following information):
Environment (please complete the following information where it makes sense):
I've used a PSP34 contract generated using the wizard on https://openbrush.io/ .