Skip to main content
1-Visitor
October 14, 2020
Solved

Datetimepicker

  • October 14, 2020
  • 1 reply
  • 1533 views

I want to give background color to datetimepicker widget in thingworx 8.5.2 version.

 

 

Best answer by lbisax

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;
}

1 reply

lbisax13-AquamarineAnswer
13-Aquamarine
October 14, 2020

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;
}

1-Visitor
October 14, 2020

I tried below css code.

 

.widget-ptcsdatepicker::part(date-field-text-box) {
   background: #ff0000;
}

 

It worked .Thanks