Skip to main content
7-Bedrock
Solved

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

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?

VelkumarAnswer
19-Tanzanite

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

 

4 replies

19-Tanzanite

Hi @Anjaneyulu2705 

 

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

 

/VR

Translate
7-Bedrock

Hi @Velkumar  Please find the attached screenshots

Translate
Velkumar19-TanzaniteAnswer
19-Tanzanite

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

 

Translate