handle update data in tab dashboard
This commit is contained in:
@@ -24,7 +24,9 @@ function AutoSelector({
|
||||
return option?.name || option?.label || "";
|
||||
}}
|
||||
className="!w-full !rounded-lg auto-complete-selector"
|
||||
onChange={(e, newValue) => updateData(name, newValue?.label || "")}
|
||||
onChange={(e, newValue) => {
|
||||
updateData(name, newValue?.label || newValue || "");
|
||||
}}
|
||||
sx={{
|
||||
...styleTextSelectRight,
|
||||
// Hide Icon Number
|
||||
|
||||
Reference in New Issue
Block a user