Skip to main content
1-Visitor
Solved

Datetimepicker

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

 

 

lbisaxAnswer
13-Aquamarine

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

3 replies

lbisax13-AquamarineAnswer
13-Aquamarine

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

Translate
1-Visitor

I tried below css code.

 

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

 

It worked .Thanks

Translate