We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7299f9 commit 097d15dCopy full SHA for 097d15d
src/index.js
@@ -380,8 +380,10 @@ function cloneTemplate(template) {
380
381
function insertElement(template, element, index, currentIndex) {
382
let eid = element.getAttribute('eid')
383
- if (!eid)
384
- console.log('attribute eid not found')
+ if (!eid) {
+ eid = uuid.generate(6)
385
+ element.setAttribute('eid', eid)
386
+ }
387
388
if (index !== null && index >= 0) {
389
if (!template.clones)
0 commit comments