Open BentHaase opened 1 year ago
Add:
footer: =JSON.stringify(items.YourItemName)
to your widget to make sure there isn't a unwanted "displayState":
I have the 'inverse' problem with current OH4 (S3515): when I set a value via slider, the item is correctly set. But the slider position graphically resets to the next-lowest integer. Item correctly remains as just set.
The problem
The 'Slider List Item' (
oh-slider-item
) incorrectly rounds the displayed value to the nearest integer value. This behavior started with 'some' Update a few months ago. Before this, the selected value was shown.See this screenshot of the issue:
Code for the specific slider:
Expected behavior
Like before the value displayed to the right should show the correct fractional value that has been slected via the slider (or any other source).
See this mock up of how it 'once' was and should be:
Steps to reproduce
oh-slider-item
0.5
(check code snipped above)x.5
via slider item and check displayed value to the right with the value that was setYour environment
Browser console
NONE
Browser network traffic
NONE
Additional information
NONE