Focus input when adding row

main
Luca 2 years ago
parent 1ad0c61daf
commit ef3c46ab23

@ -118,6 +118,8 @@ addBtn.addEventListener('click', () => {
addBtn.before(row); addBtn.before(row);
input.focus();
numForms += 1; numForms += 1;
totalForms.value = numForms; totalForms.value = numForms;
}); });

Loading…
Cancel
Save