@campxdev/campx-web-utils 2.0.9 → 2.0.10
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
|
@@ -2,6 +2,8 @@ import { SingleSelect, SingleSelectProps } from '@campxdev/react-blueprint';
|
|
|
2
2
|
import { nonWorkspaceAxios } from '../config';
|
|
3
3
|
|
|
4
4
|
export const ResearchExpertSelector = (props: SingleSelectProps) => {
|
|
5
|
+
// dbLValueProps are not being used in backend.
|
|
6
|
+
// dbLabelProps.search, limit, offset are being used in backend.
|
|
5
7
|
return (
|
|
6
8
|
<SingleSelect
|
|
7
9
|
dbValueProps={{
|
|
@@ -9,7 +11,7 @@ export const ResearchExpertSelector = (props: SingleSelectProps) => {
|
|
|
9
11
|
}}
|
|
10
12
|
dbLabelProps={{
|
|
11
13
|
labelKey: 'name',
|
|
12
|
-
subLabelKey: '
|
|
14
|
+
subLabelKey: 'type',
|
|
13
15
|
}}
|
|
14
16
|
{...props}
|
|
15
17
|
optionsApiEndPoint="dropdowns/research-experts"
|