Skip to main content
7-Bedrock
February 29, 2024
Solved

Thingworx 9.5: In Fileupload widget upload button on disabled state is getting misaligned

  • February 29, 2024
  • 1 reply
  • 1800 views

In Thingworx 9.5, In  Fileupload widget upload button on disabled state is getting misaligned if the custom css is given to upload button, we have tried using different css selectors for disabled upload button but its not working. How could i handle the disabled and enabled states of upload button CSS?

Best answer by Velkumar

Hi @Anjaneyulu2705 

 

It does work properly in my case

 

Disabled:

Velkumar_0-1709285818226.png

 

Enabled:

Velkumar_1-1709285849804.png

 

Custom CSS:

 

@supports (ptcs-style-unit: "PTCS-FILE-UPLOAD") {
 [part~=upload-button][disabled] {
 background : red !important
 }
}

 

 

Could you please share your CSS code here ?

 

/VR

 

1 reply

19-Tanzanite
March 1, 2024

Hi @Anjaneyulu2705 

 

Could you please share some screenshot to get better idea about issue

 

/VR

7-Bedrock
March 1, 2024

Hi @Velkumar  Please find the attached screenshots

Velkumar19-TanzaniteAnswer
19-Tanzanite
March 1, 2024

Hi @Anjaneyulu2705 

 

It does work properly in my case

 

Disabled:

Velkumar_0-1709285818226.png

 

Enabled:

Velkumar_1-1709285849804.png

 

Custom CSS:

 

@supports (ptcs-style-unit: "PTCS-FILE-UPLOAD") {
 [part~=upload-button][disabled] {
 background : red !important
 }
}

 

 

Could you please share your CSS code here ?

 

/VR