change component folders && add multipleselector && send img of doctor page && send skills to create doctor item

This commit is contained in:
Ehsan
2025-07-17 15:50:23 +03:30
parent c88a371eda
commit 278602372d
22 changed files with 144 additions and 34 deletions
@@ -1,7 +1,7 @@
import { useState } from "react";
import { convertToJalali } from "@/helper";
import EditField from "@/app/component/EditField";
import EditField from "@/app/component/fields/EditField";
import ButtonDate from "@/app/component/ButtonDate";
import CalendarPD from "@/components/icons/CalendarPD";
import ContentText from "@/app/component/ContentText";
@@ -9,7 +9,7 @@ function Selector({ updateData, nameKey, label, name, list }) {
options={list}
getOptionLabel={(option) => option[nameKey] || ""}
isOptionEqualToValue={(option, value) => option.id === value.id}
className="!w-full !rounded-lg auto-complete-selector "
className="!w-full !rounded-lg auto-complete-selector"
onChange={(e, newValue) => {
if (newValue) {
updateData && updateData(newValue.id, "value", name);