tauri-apps / tauri-apps/plugins-workspace

[dialog][v2] Should the `name` of the `filters` parameter of the `open` method be made optional?

Open
#1,984 0 comments 0 reactions 0 assignees View on GitHub
plugin: dialog type: question
Dominant language
Rust
Stars
1.8k
Forks
602
Avg merge
4d 14h
Merged PRs (30d)
9

Description

Should the `name` of the `filters` parameter of the `open` method be made optional?

```ts
import { open } from "@tauri-apps/plugin-dialog";

open({
filters: [{ extensions: [extname()] }],
})
```

image

image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.