Skip to main content
Feb 29, 2024 2:03 PM UTC
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
Mar 1, 2024 9:38 AM UTC

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

Mar 1, 2024 4:21 AM UTC

Hi @Anjaneyulu2705 

 

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

 

/VR

Mar 1, 2024 6:02 AM UTC

Hi @Velkumar  Please find the attached screenshots

VelkumarAnswer
Mar 1, 2024 9:38 AM UTC

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