Open nfreear opened 6 years ago
You can use the accept attribute on <input type=file> to limit the type of files that can be uploaded:
accept
<input type=file>
<input type="file" accept=".jpg,image/*" onchange="angular.element(this).scope().fileChosen(this.files[0])" />
Useful!
N.
You can use the
accept
attribute on<input type=file>
to limit the type of files that can be uploaded:Useful!
N.