Vue Material -


File inputs allows the user to pick one or multiple files. It can also filter the file type just like a normal input file or select multiple files.

md-file works just like a regular md-input component. This means that you can pass any md-input prop to md-file, like placeholder, required and disabled, for example.

Regular File

File Field

API - md-file

The following options can be applied to file component:

md-change Emits a FileList. Triggered every time a file is selected. FileList
All other <input type="file"> attributes, such as multiple and accept, can be used on md-field.