Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
I want to give background color to datetimepicker widget in thingworx 8.5.2 version.
Solved! Go to Solution.
I could only test it on 8.5.6 but try to add this in the custom css part of your mashup and give your date time picker widget the custom class name (in my example "myClass"):
.myClass .widget-ptcsdatepicker::part(date-field-text-box) {
background: #ff0000;
}
I could only test it on 8.5.6 but try to add this in the custom css part of your mashup and give your date time picker widget the custom class name (in my example "myClass"):
.myClass .widget-ptcsdatepicker::part(date-field-text-box) {
background: #ff0000;
}
I tried below css code.
.widget-ptcsdatepicker::part(date-field-text-box) {
background: #ff0000;
}
It worked .Thanks
Hi @krishnakomal.
Since a solution was found, could you please mark the response provided by @lbisax as the Accepted Solution for the benefit of others with the same question?
Thank you for your participation in the community.
Regards.
--Sharon