Skip to content

Able to add more than one file when maxFiles is 1 and multiple is false in PromptInput #284

@captchadex

Description

@captchadex

I am able to add more than one file when maxFiles is set to 1 in PromptInput and multiple is set to false.

Example:

    <PromptInput
      onSubmit={handleSubmit}
      accept={PDF_MIME_TYPE}
      multiple={false}
      maxFiles={1}
      onError={(error) => toast(error.message)}
    >

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions