completedWork can't not update if it grather than zero
This commit is contained in:
parent
3a84d2f4c9
commit
c860a63ad6
@ -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