From f4fa43d4686651b62f67e24d3698ea2324082f8e Mon Sep 17 00:00:00 2001
From: Rosyid Haryadi <rosyid_haryadi@protonmail.com>
Date: Sat, 30 Sep 2023 21:03:28 +0700
Subject: a more proper calculation including weekend, libur nasional not
 considered yet

---
 src/SalaryInput.jsx | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src/SalaryInput.jsx')

diff --git a/src/SalaryInput.jsx b/src/SalaryInput.jsx
index 753d457..2091a36 100644
--- a/src/SalaryInput.jsx
+++ b/src/SalaryInput.jsx
@@ -11,6 +11,8 @@ function SalaryInput({handleBaseSalaryChange}) {
             variant="outlined"
             valueIsNumericString={true}
             thousandSeparator={true}
+            allowNegative={false}
+            decimalScale={0}
             value={baseSalary}
             onValueChange={(value, sourceInfo) => {
                 setBaseSalary(value.value);
-- 
cgit v1.2.3-70-g09d2

