Bug with Upload Button .validity.valid & .valid

The documentation ( https://www.wix.com/velo/reference/$w/uploadbutton/validity ) says this regarding .validity

So I do this

& then I get this

.validity.valid = false

But I can upload the image just fine. Same thing with .valid

Yrs. I think you’re right and it’s a bug, and you should use:

$w('uploadBtn').value.every(e => e.valid)

I guess the valid, validy.valid stopped working when they moved to the new button (multi-file buttons). I’ll rise it up in the channel.

Tell them I said Hi