#52: Removed the Bootstrap 4 custom file inputs as they don't show the filename correctly - and I can't get the 'change' event to fire to change manually. This works fine with a native file input.

This commit is contained in:
Andy Heathershaw 2017-09-30 08:34:04 +01:00
parent a6303410cf
commit 4326bc427c

View File

@ -23,10 +23,11 @@
<input type="hidden" name="queue_token" value="{{ $queue_token }}"/> <input type="hidden" name="queue_token" value="{{ $queue_token }}"/>
<div class="form-group"> <div class="form-group">
<label class="custom-file"> {{--<label class="custom-file">
<input type="file" name="photo[]" id="single-upload-files" class="custom-file-input" multiple="multiple"> <input type="file" name="photo[]" id="single-upload-files" multiple="multiple">
<span class="custom-file-control"></span> <span class="custom-file-control"></span>
</label> </label>--}}
<input type="file" name="photo[]" id="single-upload-files" multiple="multiple">
</div> </div>
<div> <div>
@ -50,10 +51,11 @@
<input type="hidden" name="queue_token" value="{{ $queue_token }}"/> <input type="hidden" name="queue_token" value="{{ $queue_token }}"/>
<div class="form-group"> <div class="form-group">
<label class="custom-file"> {{--<label class="custom-file">
<input type="file" id="single-upload-files" class="custom-file-input" multiple="multiple" name="archive"> <input type="file" id="single-upload-files" class="custom-file-input" multiple="multiple" name="archive">
<span class="custom-file-control"></span> <span class="custom-file-control"></span>
</label> </label>--}}
<input type="file" id="single-upload-files" multiple="multiple" name="archive">
</div> </div>
<div> <div>