Upload button still works after disabling upload field

Hello WeWeb team,

When I disable a file upload field, users are still able to click the upload button and choose a file. I do not want users to be able to interact with the button when the field is disabled.

Thank you for your feedback, we have logged this issue on our side, and will let you know when we will publish the fix

Hi @aurelie,

Any update on the button ‘disabled’ button feature being fixed?

Using an additional step within a workflow as an interim measure.

If I believe my Jira tickets, this has been pushed in production. Do you still have the problem?

I’ll check and let you know.

Thanks

Nope, it’s still not disabling the button. I’ve tried changing the type to ‘submit button’ and tried changing the formula. It doesn’t make any difference. The button still triggers the dialogue box to upload a file.

image

A workaround idea: You could layer/position the element behind an invisible div of the same size and mess with z-index such that the user only clicks on the top invisible div and not the file picker.

Could you add this as a bug on support.weweb.io ? We’ll fix this asap

1 Like

Hey, my bad. It seemed like you tried to disable the button, when you had to disable the whole image upload element, like so:
image

2 Likes