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

Allow any (*) file extensions #148

Open
RedX2501 opened this issue Nov 19, 2024 · 0 comments
Open

Allow any (*) file extensions #148

RedX2501 opened this issue Nov 19, 2024 · 0 comments

Comments

@RedX2501
Copy link

Tested with 2.4.0

I want to open two file types:

  1. arxml
  2. any file type

If I pass the following configuration

const types = ['arxml', '*']
<FileUploaderr label='Select arxml file' types={types}/>

The open file dialog display this confusing entry:

image

Instead of the "normal"/expected two entries. One for '.arxm' and another for '.*'.

Without the types parameter there is no first filter entry for '*.arxml' which is the primary file format I want the users to use.

Is there any workaround for this? Can this feature be implemented?

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