Slider showing values

Hi.
is there a setting to show on the ui the actual value of the slider widget without writing new code?

Regards,
Luca

It is possible if you are using slider with option output "only on release" and a little CSS override.

[{"id":"4bc92110.64406","type":"ui_template","z":"7993e570.4aafac","group":"93892d22.50ab8","name":"","order":3,"width":0,"height":0,"format":"<style>\nmd-slider[md-discrete] .md-sign,\nmd-slider[md-discrete] .md-sign:after {\n opacity: 1;\n -webkit-transform: translate3d(0, 0, 0) scale(1);\n transform: translate3d(0, 0, 0) scale(1);\n}\n</style>","storeOutMessages":true,"fwdInMessages":true,"templateScope":"global","x":660,"y":320,"wires":[[]]},{"id":"992bc11f.dc2a4","type":"ui_slider","z":"7993e570.4aafac","name":"","label":"slider","tooltip":"","group":"93892d22.50ab8","order":4,"width":0,"height":0,"passthru":true,"outs":"end","topic":"","min":0,"max":10,"step":1,"x":650,"y":360,"wires":[[]]},{"id":"93892d22.50ab8","type":"ui_group","z":"","name":"charts","tab":"a24618c5.be59c8","disp":true,"width":"14","collapse":false},{"id":"a24618c5.be59c8","type":"ui_tab","z":"","name":"tab 1","icon":"weekend","order":1,"disabled":false,"hidden":false}]

3 Likes

not sure why you need the css but yes.

To hold it always open. (which could be nice option to have configurable)

hmm - actually would be better default :slight_smile: will make it so (for the future)

1 Like

Is it possible to override this new default setting? I dont want the slider to always show the tooltip.
Why would you bind this behaviour to "only on release"? Shouldnt it have its own setting?

I need "only on release"-output but dont want the tooltip. Im already displaying the value in the label.

It ruins the layout of my dashboard (touching buttons above it / slider not vertically centered in row) :frowning: Thx for your help!