Make other calculation reactive whenever theres a change

This commit is contained in:
Afiq Hamzah
2024-09-24 16:56:23 +08:00
parent 4aec1c3537
commit b3ddc4ce68
@@ -497,6 +497,9 @@
roundedValue = Math.round(roundedValue);
roundedValue = roundedValue / 10;
input.value = roundedValue.toFixed(2);
input.dispatchEvent(new Event('change', { bubbles: true }));
calculateall(null, null);
}
}, 1500); // 1500ms delay
});