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

Max files requires a minimum of 2, not 1 #250

Open
JohnSmall opened this issue Oct 1, 2024 · 0 comments
Open

Max files requires a minimum of 2, not 1 #250

JohnSmall opened this issue Oct 1, 2024 · 0 comments

Comments

@JohnSmall
Copy link

JohnSmall commented Oct 1, 2024

Using Rails 7.2, with import maps, in my erb views I have

<%= form.filestack_field :image, 'Test Filestack!', pickerOptions: { 'maxFiles': 2 }, onFileUploadFinished: 'onFileUploadFinishedCallback' }, id: SecureRandom.uuid , input_id: SecureRandom.uuid %>

If I set maxFiles to 1 it allows me to select a file, but it's never uploaded to Filestack.

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

1 participant