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
parent 3a84d2f4c9
commit c860a63ad6

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>