Skip to content

Add an option to control whether clicking the FileField.Dragzone opens the file picker #583

@Huliiiiii

Description

@Huliiiiii

Is your feature request related to a problem? Please describe.
Currently, clicking on FileField.Dragzone automatically opens the native file picker. While this behavior is convenient in many cases, there are situations where developers may want to disable this.

Describe the solution you'd like
Add a new property such as openFilePickerOnClick.

<Dragzone openFilePickerOnClick={false} />

Additional context
If this feature request is accepted, I’d be glad to open a PR to implement it.

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