How to edit the upload widget in traditional?

Hey, i have an upload widget in a pop-up. Currently the button says "choose file" and next to it it says " No file chosen". How do i change the both texts? How do i edit the button css? Also how do i assign a bolean variable to it that when a file is selected changes to true .

Tried everything but couldn't do it. 

Thanks,

Lourenço

Screenshot20211011164426.png

mvp_badge
MVP

Hi Lourenço,

Customizing the default styling of the file type input is a bit difficult. Instead you can create your own custom unit for the same covering all the required use cases. Anyhow check the below mentioned links...

https://css-tricks.com/snippets/css/custom-file-input-styling-webkitblink/

https://stackoverflow.com/questions/572768/styling-an-input-type-file-button

I also tried to implement (but not fully as expected) See this sample screen: UploadWidgetTask


I hope this helps you!


Kind regards,

Benjith Sam

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.