Blazor Upload: How to set initial directory and Accept *.docx

Accept="Word Files (.doc;.docx)|.doc|.docx" does not seem to work?

Also, how to tell it what directory to initially open up to?

Thank you,


Hi @LeonGorbaty,

Setting initial directory is not possible. More info can be found here:

Accept is actually files media type not extensions - syntax can be found here: