#100922
admin
Keymaster

Hi Tr12,
Actually, the previous was answered by my colleague. Anyway, you can call him Peter, too 🙂
When you add multiple HTML Elements, it would be better to add them just once in the DOM.

    const doc = document.createDocumentFragment();
            for(let z = 0; z < 30; z++) {
                let text = new window.Smart.TextBox();
                text.value = "abc";
                doc.appendChild(text);
            }
  document.body.appendChild(doc);

Best Regards,
Peter
Smart HTML Elements Team
https://www.htmlelements.com