Skip to content

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

Description

@JohnSmall

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions