completedWork can't not update if it grather than zero

This commit is contained in:
Pramod Mahajan 2025-05-10 12:33:21 +05:30 committed by Vikas Nale
parent 26c1492300
commit 186b18bb6e

View File

@ -303,6 +303,7 @@ const EditActivityModal = ({
type="number"
className="form-control form-control-sm me-2"
placeholder="Completed Work"
disabled={getValues("completedWork") > 0}
/>
{errors.completedWork && (
<p className="danger-text">{errors.completedWork.message}</p>