question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Inputs allow negative value

See original GitHub issue

The Issue

The claim deposit input inside publish page allows a negative value.

Steps to reproduce

  1. Open publish page
  2. Go to Content URL > deposit
  3. 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

negative

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
kauffjcommented, Aug 12, 2017

If themin isn’t a multiple of step, 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).

1reaction
kauffjcommented, Aug 12, 2017

Merged #471.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found