Datepicker widget value attribute

0
Hi All,   I'm changing the style of our application to have floating labels for inputs, one of them is the datepicker. With the other inputs I can query with (S)CSS whether the input has a value or not and for the focus/active state i can make the label float. However with the datepicker, the value attribute remains empty all the time even when choosing a date. Problem I face is with the read-only control version where I cannot query on the placeholder nor value, so either my label has to always float to the top even when no date is set yet or it will overlap with the date when set.  First scenario I query on the placeholder being there but when choosing a date in the disabled variant it overlaps   Second scenario where I also query on both placeholder and input:disabled the label already floats which is also not what we want. I am using Mendix 10.6.1. Anyone has experience with this? Would rather not have any JS implementation for this.  Also from an accessible point of view, should the value also be filled, the behavior is different from their other inputs and thus not consistent to me but maybe there is an explanation for this?   Thanks!
asked
0 answers