我想允许用户为拖入Dropzone的每个文件提交一个标题,该标题将被输入到文本输入中.但我不知道如何添加它.每个人都可以帮助我吗?
这是我的HTML代码
<form id="my-awesome-dropzone" class="dropzone">
<div class="dropzone-previews"></div> <!-- this is were the previews should be shown. -->
<!-- Now setup your input fields -->
<input type="email" name="username" id="username" />
<input type="password" name="password" id="password" />
<button type="submit">Submit data and files!</button>
</form>
Run Code Online (Sandbox Code Playgroud)
这是我的脚本代码
<script>
Dropzone.options.myAwesomeDropzone = { // The camelized version of the ID of the form element
// The configuration we've talked about above
url: "upload.php",
autoProcessQueue: false,
uploadMultiple: true,
parallelUploads: 100,
maxFiles: 100,
maxFilesize:10,//MB
// The setting up of the …
Run Code Online (Sandbox Code Playgroud) 我用谷歌搜索并发现如何在这里响应Bootstrap 3 tab to accordion
使用Bootstrap 3选项卡,但是我使用的是Bootstrap 4,我不知道如何将它转换为Bootstrap 4 tab到手风琴.请帮我.
谢谢!