At New Project popup show the Active selected all the time when popup open.
This commit is contained in:
parent
e47262123d
commit
8553b6bee7
@ -201,7 +201,7 @@ const ManageServiceProject = ({ serviceProjectId, onClose }) => {
|
||||
|
||||
<div className="col-12 col-md-6 mb-2">
|
||||
<Label htmlFor="name" required>
|
||||
Contact Name
|
||||
Contact Person
|
||||
</Label>
|
||||
<input
|
||||
type="text"
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
import { z } from "zod";
|
||||
import { PROJECT_STATUS } from "../../utils/constants";
|
||||
|
||||
//#region Service Project
|
||||
export const projectSchema = z.object({
|
||||
@ -26,7 +27,7 @@ export const defaultProjectValues = {
|
||||
services: [],
|
||||
address: "",
|
||||
assignedDate: "",
|
||||
statusId: "",
|
||||
statusId: PROJECT_STATUS.find((s) => s.label === "Active")?.id,
|
||||
contactName: "",
|
||||
contactPhone: "",
|
||||
contactEmail: "",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user