Posts: 17
Threads: 11
Joined: Nov 2019
Reputation:
0
Hi!
When using datatype 3.byte time/day in visualization.
I want to set a time when pressing the time in visualization, but there u can also set day and seconds.
Is it possible to hide seconds and day options?
So its only hour and minutes you can set?
Or if there is a better way to do it?
-s-
Posts: 33
Threads: 8
Joined: Jul 2015
Reputation:
0
(22.03.2022, 14:36)admin Wrote: Add this to Custom CSS:
Code:
.timepicker-day,
.timepicker-second {
display: none;
}
.timepicker {
margin: 10px 0;
display: flex;
justify-content: space-evenly;
}
I hoped to use this 'conditionally', so only on certain timepickers with an additional class,
but embedding this code in a construct like .hourMinPick {...} does not work. HOw should that be written?
Don't ask what we can do in KNX but wonder what we can't - www.KNXlogic.eu
Posts: 7758
Threads: 42
Joined: Jun 2015
Reputation:
447
Which firmware version do you have?
Posts: 125
Threads: 16
Joined: May 2020
Reputation:
0
16.06.2022, 08:52
(This post was last modified: 16.06.2022, 09:27 by JRP.)
Hello
Wiser, 2.7.0
By the way css without additional classes doesn't work for me either.
What I have in an object on the display set to Display Mode as Value.
Greeatings
Posts: 7758
Threads: 42
Joined: Jun 2015
Reputation:
447
This CSS only hides the second input field when changing the value. The displayed value is still in H:MM:SS format. Options to hide seconds and day from both control and display will be added in the next firmware release.
Posts: 125
Threads: 16
Joined: May 2020
Reputation:
0
Ok, I'll wait for the next update then.
Thank you