|
@@ -43,6 +43,7 @@ import { autocomplete } from './autocomplete'
|
|
function addDeleteLink(item) {
|
|
function addDeleteLink(item) {
|
|
const input = item.querySelector('input') ?? item.querySelector('select');
|
|
const input = item.querySelector('input') ?? item.querySelector('select');
|
|
const deleteLink = document.createElement('button');
|
|
const deleteLink = document.createElement('button');
|
|
|
|
+ deleteLink.type = 'button';
|
|
deleteLink.className = 'btn btn-outline-secondary';
|
|
deleteLink.className = 'btn btn-outline-secondary';
|
|
const i = document.createElement('i');
|
|
const i = document.createElement('i');
|
|
i.className = 'fa fa-trash fa-lg text-danger';
|
|
i.className = 'fa fa-trash fa-lg text-danger';
|