File upload Capture Attribute

Hi,

How do I add capture attribute to File upload component? Tried adding as an additional parameter and that did not work.

Basically I would like to enable camera to upload pictures.

Thanks

Not sure what you are trying to accomplish. Here what I have on our demo:

Thanks, it works in the demo but does not work in my app. Any ideas? The code is the same and it is a PWA

Your app is not https most probably.

It is https, but still doe not prompt. Does it only prompt if accept is image?

No, since the first upload is not limited to images.