change key field to specialty, filter list doctors with name, remove loading state from doctors page, save state id in url

This commit is contained in:
Ehsan
2025-09-07 10:22:53 +03:30
parent dc40129034
commit 10d4c39a4d
11 changed files with 142 additions and 59 deletions
+2 -2
View File
@@ -15,14 +15,14 @@ function Form({ data, changeData }) {
list={parentList}
label="دسته بندی"
value={data.category}
updateData={(value) => changeData(value, "category", true, "field")}
updateData={(value) => changeData(value, "category", true, "specialty")}
/>
{!!childrenList.length && (
<div className="mt-[24px]">
<CateSelector
list={childrenList}
updateData={(value) =>
changeData(value, "specialties", false, "field")
changeData(value, "specialties", false, "specialty")
}
value={data.specialties}
label="تخصص"