At New Project popup show the Active selected all the time when popup open.

This commit is contained in:
Kartik Sharma 2025-11-15 15:16:37 +05:30 committed by pramod.mahajan
parent e47262123d
commit 8553b6bee7
2 changed files with 3 additions and 2 deletions

View File

@ -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"

View File

@ -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: "",