Skip to main content
7-Bedrock
November 30, 2023
Solved

How to apply custom css on disabled checkbox color

  • November 30, 2023
  • 1 reply
  • 4303 views

How to apply custom css on disabled checkbox color

AC_10460579_0-1701327620174.png

I am not able to change the grey checkbox color using custom css

Best answer by Velkumar

Hi @AC_10460579 

 

I tried in Thingworx 9.4 which is working.

Velkumar_3-1701413585168.png

 

 

Velkumar_1-1701413482515.png

 

Velkumar_4-1701413604774.png

Velkumar_5-1701413617433.png

 

May I know your Thingworx version and how you are trying to implement it 

 

If you want that actual box to be some other color use the below code

ptcs-checkbox[disabled]::part(box){
 color : red;
}

Velkumar_6-1701413847512.png

 

/VR

1 reply

19-Tanzanite
November 30, 2023

Hi @AC_10460579 

 

Try below code

ptcs-checkbox[disabled]::part(label){
 color : red;
}

 

/VR

7-Bedrock
November 30, 2023

Not working

 

19-Tanzanite
November 30, 2023

Hi @AC_10460579 

 

Could you please upload some screenshot

 

/VR