File tree Expand file tree Collapse file tree 1 file changed +13
-16
lines changed Expand file tree Collapse file tree 1 file changed +13
-16
lines changed Original file line number Diff line number Diff line change 19
19
@dragover.stop.prevent =" dragover" >
20
20
<!-- Normally this div should be label, but IE borks out if label has a file input inside. Awaiting fix from MSFT -->
21
21
22
- <!-- Drop Here Target, set as label so it can be associated with input -->
23
- <label v-if =" dragging"
24
- :for =" safeId()"
25
- :data-drop =" dropLabel"
26
- class =" drop-here"
27
- @dragover.stop.prevent =" dragover"
28
- @drop.stop.prevent =" drop"
29
- @dragleave.stop.prevent =" dragging=false"
30
- ></label >
22
+ <!-- Drop Here Target -->
23
+ <span v-if =" dragging"
24
+ :data-drop =" dropLabel"
25
+ class =" drop-here"
26
+ @dragover.stop.prevent =" dragover"
27
+ @drop.stop.prevent =" drop"
28
+ @dragleave.stop.prevent =" dragging=false"
29
+ ></span >
31
30
32
31
<!-- Real Form input -->
33
32
<input type =" file"
48
47
@change =" onFileChange" >
49
48
50
49
<!-- Overlay Labels -->
51
- <!-- this is normally a <span> but we use <label> here so we can associate it with the input -->
52
- <label :id =" safeId('_BV_file_control_')"
53
- :for =" safeId()"
54
- :class =" ['custom-file-control', dragging?'dragging':null]"
55
- :data-choose =" computedChooseLabel"
56
- :data-selected =" selectedLabel"
57
- ></label >
50
+ <span :id =" safeId('_BV_file_control_')"
51
+ :class =" ['custom-file-control', dragging?'dragging':null]"
52
+ :data-choose =" computedChooseLabel"
53
+ :data-selected =" selectedLabel"
54
+ ></span >
58
55
59
56
</div >
60
57
</template >
You can’t perform that action at this time.
0 commit comments