Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable multiple image selection in QrcodeCapture #103

Closed
dakshshah96 opened this issue Mar 16, 2019 · 2 comments
Closed

Disable multiple image selection in QrcodeCapture #103

dakshshah96 opened this issue Mar 16, 2019 · 2 comments

Comments

@dakshshah96
Copy link

Is there a way to disable multiple image selection in the QrcodeCapture file picker component?

If not, I'd be more than happy to try contributing to a library that I've extensively used for the past couple of months in my applications!

@gruhn
Copy link
Owner

gruhn commented Mar 16, 2019

Nice to hear that 😀

The input is the root element of QrcodeCapture. That's why any HTML attribute on the component will override/be added to the input.

Removing the multiple attribute should do the trick:

<qrcode-capture :multiple="false">

@dakshshah96
Copy link
Author

Oops, didn't know it was this simple 😝

Thanks, that worked 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants