Hi all,
I made a widget with the following inside:
- component: f7-row
config:
class:
- padding-top
- padding-bottom
slots:
default:
- component: f7-col
config:
width: 35
visible: =Number.parseFloat(items[props.item+'Mode'].state) > 1.5
slots:
default:
- component: oh-link
config:
action: analyzer
actionAnalyzerItems: =[props.item + 'ColorRed']
item: =props.item + 'ColorRed'
color: black
iconSize: 24
text: = "Red "+items[props.item + 'ColorRed'].state
visible: =Number.parseFloat(items[props.item+'Mode'].state) > 1.5
- component: f7-col
config:
width: 65
slots:
default:
- component: oh-slider
config:
item: =props.item + 'ColorRed'
releaseOnly: true
scale: true
min: 0
max: 255
visible: =Number.parseFloat(items[props.item+'Mode'].state) > 1.5
If I click on the slider it will send the command, if i actually slide it, then it doesnt always send a command when realeasing, especially when i drag it to the end point with the mouse cursor outside the actual scale (which i tend to do to make sure its at max or min). Changing “releaseOnly” to false does not really help.
Does anybody have any idea? Or is this a known issue?
Thanks,
Ramon