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