Highlight today's date on dateTimeInput component in perspective

That is not possible,
You would need to create a class for every day/month and use an expression to get the correct class in the css.
I suppose you might get away with doing just the days and also filter if its a filler day or not

image
do this for every 31days

.psc-LightDay1 .dayTile[data-day="1"]:not(.ia_dateRangePicker__calendar__dayTile--fillerTile){
  background-color:#add8e655
}
.psc-LightDay29 .dayTile[data-day="29"]:not(.ia_dateRangePicker__calendar__dayTile--fillerTile){
  background-color:#add8e655
}

image
and put a binding on the classes to determine which day it is... not that much work i suppose.

Edit: filter problems...
Welp just the day is not enough since adjusting the month filter doesnt trigger any events so your binding wouldnt know about it to not select any classes... rip
There is also no way to know what year you are trying to filter so it would always highlight something wrong:(

creating 365 classes seems to much work for something that doesnt even work correct xD

3 Likes