Inputs allow negative value
See original GitHub issueThe Issue
The claim deposit input inside publish
page allows a negative value.
Steps to reproduce
- Open publish page
- Go to Content URL > deposit
- Add a negative value.
Expected behaviour
It should probably allow 0
or minimum
but not negative.
Actual behaviour
A negative value it’s assigned,
System Configuration
Configuration | Version |
---|---|
App | 0.14.3 |
Daemon (lbrynet) | 0.14.2 |
Wallet (lbryum) | 3.1.4 |
Platform | Linux (Linux-4.10.0-28-generic-x86_64-with-elementary-0.4.1-loki) |
Screenshots
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
html - Is there any way to prevent input type="number" getting ...
I wanted to allow decimal numbers and not clear the entire input if a negative was inputted. This works well in chrome at...
Read more >Text box allow only negative symbol with numeric values
i am getting for numeric values but not allowing - symbol in text box. i need proper code for allow negative symbol &...
Read more >How to Allow Only Positive Numbers in the Input Number Type
In this snippet, we'll demonstrate how to allow only positive numbers in the input number type. You can use the “min” attribute to...
Read more >HTML Input Number | Explore Number & Range Input Types
The number input type can accept both positive and negative integers as well as floating point numbers.
Read more >Prevent negative value from being entered in HTML input type ...
Prevent negative value from being entered in HTML input type number field? ... Here is the full fiddle example. ... Simply use below...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
If the
min
isn’t a multiple ofstep
, Chrome has some undesirable behavior when using the arrows (e.g. it will step 5 down to 4.91, with min=0.01 and step=0.1).Merged #471.