Open
Description
I'm having v3.0.1 with rails 5.2.0, try upload file to Minio with protocol S3.
File was uploaded to rails backend and then transfer to minio later, I checked this views file app/views/trestle/active_storage/_has_one_field.html.erb it do has direct_upload: true
instructions, is there anything I'm missing, help me fix this please.
The code I'm using:
form do |video|
text_field :title
select :category_id, Category.all, {}
select :serial_id, Serial.all, include_blank: "select"
active_storage_field :file, multiple: true, direct_upload: true
end
HTML it generates:
<div class="form-group"><label class="control-label" for="video_file">Video</label><div class="active-storage">
<div class="progress" style="display: none">
<div class="progress-bar progress-bar-striped active"></div>
</div>
<input class="active-storage__field" type="file" name="video[file]" id="video_file">
</div>
</div>
A progress bar was generated, but nothing happened when I submit the form.
Anybody know this, pls help, thank you.
Metadata
Metadata
Assignees
Labels
No labels