completedWork can't not update if it grather than zero
This commit is contained in:
parent
26c1492300
commit
186b18bb6e
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user