PyWebIO icon indicating copy to clipboard operation
PyWebIO copied to clipboard

Slider support?

Open tirthajyoti opened this issue 4 years ago • 6 comments

Requesting a feature add - slider.

For multi-parameter apps, a slider is a natural choice for many situations. Especially, it gives an idea about the range of values to experiment with.

tirthajyoti avatar May 10 '21 23:05 tirthajyoti

Slider input is already added to plan with a new feature, please stay tuned.

wang0618 avatar May 11 '21 05:05 wang0618

Slider input was added in version 1.3. See https://pywebio.readthedocs.io/en/latest/input.html#pywebio.input.slider

wang0618 avatar Jun 19 '21 15:06 wang0618

Slider input was added in version 1.3. See https://pywebio.readthedocs.io/en/latest/input.html#pywebio.input.slider

Yes it exists in the docs, but when i try to implement it in my code, it says the name 'slider' is not defined. In fact I even checked the input.py file, there is no implementation of slider

appym005 avatar Aug 03 '21 10:08 appym005

Can slider display a number, for example,value、min_value、max_value=100 slider(label="请选择数值:",value=5, min_value=1, max_value=100, step=1 2 )

wujianming604 avatar Nov 29 '21 08:11 wujianming604

@wujianming604 Thanks for feedback, I will add this feature in next version.

wang0618 avatar Nov 29 '21 08:11 wang0618

Thanks !!

wujianming604 avatar Nov 29 '21 08:11 wujianming604

@wujianming604 forget to update, value label for slider input was already available since v1.5

wang0618 avatar Sep 03 '22 16:09 wang0618