Add 'capture' attribute for file input.
Build and Deploy Web App / build-and-deploy (push) Successful in 20s
Details
Build and Deploy Web App / build-and-deploy (push) Successful in 20s
Details
This commit is contained in:
parent
cf679c1c6e
commit
41acb0dd51
|
|
@ -130,8 +130,8 @@ function downloadFile(attachmentId: number) {
|
|||
</div>
|
||||
|
||||
<div>
|
||||
<input id="fileInput" type="file" multiple @change="onFileInputChanged" style="display: none;" ref="fileInput"
|
||||
:disabled="disabled" />
|
||||
<input id="fileInput" type="file" capture="environment" multiple @change="onFileInputChanged"
|
||||
style="display: none;" ref="fileInput" :disabled="disabled" />
|
||||
<label for="fileInput">
|
||||
<AppButton icon="upload" type="button" @click="fileInput?.click()" :disabled="disabled">Select a File
|
||||
</AppButton>
|
||||
|
|
|
|||
Loading…
Reference in New Issue