Browse Source

fix: forms block

Ahmad Kholid 2 years ago
parent
commit
638226605b
1 changed files with 1 additions and 1 deletions
  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;