Answer the question
In order to leave comments, you need to log in
How to forbid increasing the range if the sum of all elements is less than 0 (Ion.RangeSlider)?
There is a website ( https://nechepa.com/turboforex/test) with a calculator.
The bottom line: the user has the opportunity to distribute 50,000 among all companies.
And you need to make sure that if he used all 50000 - the slider could not be moved to the right (for all inputs).
There is a value from_max, but I don’t know how to transfer data (a number that can be used) there (
PS - if you don’t know, and write phrases like: “Tyu .. it’s so simple right there, why ask such questions”, "pfff .. easy, I couldn't insert a variable there."
If you write, just write - it's better not to write) Save your time, I'm worried about you)
And specialists who can offer an option, even with a small piece of code, are always happy) And I will be very grateful) Thank you))
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question