@campxdev/shared 1.11.68 → 1.11.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -30,6 +30,7 @@ export default function FormAutoCompleteSearch({
|
|
|
30
30
|
control,
|
|
31
31
|
name,
|
|
32
32
|
options,
|
|
33
|
+
onOpen,
|
|
33
34
|
label,
|
|
34
35
|
loading, // pass this variable when options are from an async operation
|
|
35
36
|
hookForm = true,
|
|
@@ -40,6 +41,7 @@ export default function FormAutoCompleteSearch({
|
|
|
40
41
|
if (!hookForm) {
|
|
41
42
|
return (
|
|
42
43
|
<Autocomplete
|
|
44
|
+
onOpen={onOpen}
|
|
43
45
|
multiple={multiple}
|
|
44
46
|
value={props.value}
|
|
45
47
|
fullWidth
|
|
@@ -69,6 +71,7 @@ export default function FormAutoCompleteSearch({
|
|
|
69
71
|
render={({ field, fieldState: { error } }) => (
|
|
70
72
|
<Box>
|
|
71
73
|
<Autocomplete
|
|
74
|
+
onOpen={onOpen}
|
|
72
75
|
multiple={multiple}
|
|
73
76
|
loading={loading}
|
|
74
77
|
value={field.value}
|
|
@@ -12,7 +12,7 @@ export default function InstitutionsDialog({ close }) {
|
|
|
12
12
|
|
|
13
13
|
return (
|
|
14
14
|
<Box sx={{ padding: '20px' }}>
|
|
15
|
-
<Typography variant="
|
|
15
|
+
<Typography variant="h6" textAlign={'center'}>
|
|
16
16
|
Select an Institution
|
|
17
17
|
</Typography>
|
|
18
18
|
<TextField
|