Explorar o código

fix: forms block

Ahmad Kholid %!s(int64=3) %!d(string=hai) anos
pai
achega
638226605b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/utils/handleFormElement.js

+ 1 - 1
src/utils/handleFormElement.js

@@ -54,7 +54,7 @@ async function inputText({ data, element, isEditable }) {
   element?.focus();
   const elementKey = isEditable ? 'textContent' : 'value';
 
-  if (data.delay > 0 && !document.hidden && !isEditable) {
+  if (data.delay > 0 && !document.hidden) {
     for (let index = 0; index < data.value.length; index += 1) {
       const currentChar = data.value[index];
       element[elementKey] += currentChar;