We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33ededc commit f477b4dCopy full SHA for f477b4d
PictureInput.vue
@@ -38,7 +38,7 @@
38
<button v-if="removable" @click.prevent="removeImage" :class="removeButtonClass">{{ strings.remove }}</button>
39
</div>
40
41
- <input ref="fileInput" type="file" :name="name" :id="id" :accept="accept" @change="onFileChange">
+ <input ref="fileInput" type="file" :name="name" :id="id" :accept="accept" @change="onFileChange" :capture="capture" />
42
43
</template>
44
@@ -62,6 +62,10 @@ export default {
62
type: String,
63
default: 'image/*'
64
},
65
+ capture: {
66
+ type: String,
67
+ default: null
68
+ },
69
size: {
70
type: [String, Number],
71
default: Number.MAX_SAFE_INTEGER
0 commit comments