save data modal & change list selectors & handle redirect in modal page doctors

This commit is contained in:
Ehsan
2025-05-16 13:52:47 +03:30
parent 328e11c21c
commit a016d3319a
7 changed files with 79 additions and 28 deletions
+3 -3
View File
@@ -17,11 +17,11 @@ function AutoCompleteSelect({
disablePortal
options={list}
disabled={disabled}
value={value || null}
ListboxProps={listboxProps}
value={value || null}
className="!w-full !rounded-lg auto-complete-selector"
onChange={(event, newValue) => {
updateData && updateData(newValue ? newValue.label : "", name);
onChange={(e, newValue) => {
updateData && updateData(newValue || "", name);
}}
sx={{
...styleTextSelectRight,