|
@@ -4,7 +4,6 @@ import { autocomplete } from './autocomplete'
|
|
document
|
|
document
|
|
.querySelectorAll('ul.collection-form li')
|
|
.querySelectorAll('ul.collection-form li')
|
|
.forEach(item => {
|
|
.forEach(item => {
|
|
- console.log(item.querySelector('input').readOnly = true)
|
|
|
|
addDeleteLink(item)
|
|
addDeleteLink(item)
|
|
});
|
|
});
|
|
|
|
|
|
@@ -28,7 +27,7 @@ import { autocomplete } from './autocomplete'
|
|
/__name__/g,
|
|
/__name__/g,
|
|
collectionHolder.dataset.index
|
|
collectionHolder.dataset.index
|
|
);
|
|
);
|
|
-
|
|
|
|
|
|
+
|
|
if (path !== '') {
|
|
if (path !== '') {
|
|
autocomplete(item, path);
|
|
autocomplete(item, path);
|
|
}
|
|
}
|