quasar icon indicating copy to clipboard operation
quasar copied to clipboard

MAX and MIN range issue in q-range component

Open bagladivyang03 opened this issue 5 years ago • 4 comments

I m using the q-range component as below:

But I want to restrict the max and min to have the same value as when sliding the slider we can slide the max or min on the same value . Anybody can pls help How to restrict I was thinking of drag only range but in that we can have fix value range drag only. Pls help ?

bagladivyang03 avatar Apr 25 '21 05:04 bagladivyang03

When you mean restrict do you mean for both the max an min to move together?

if that is it create a watcher to watch both max and min and increaser by same range difference

But if not kindly Expatiate so I can clearly understand

Godfadatun avatar Apr 26 '21 14:04 Godfadatun

Actually what I want is exactly is that the distance between max and min I want to fix to some value instead of directly 0. As I read the documentation I found the drag-only but in that the distance is fixed between min and max I want variable distance between min and max.

bagladivyang03 avatar Apr 26 '21 15:04 bagladivyang03

@Godfadatun is there any way ?

bagladivyang03 avatar May 01 '21 05:05 bagladivyang03

Change min and max according to what you want when the value changes.

pdanpdan avatar Jul 04 '21 14:07 pdanpdan