@campxdev/react-blueprint 1.3.1 → 1.3.2

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@campxdev/react-blueprint",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "main": "./export.ts",
5
5
  "private": false,
6
6
  "dependencies": {
@@ -228,10 +228,10 @@ export const SingleSelect = ({
228
228
  params: {
229
229
  limit,
230
230
  offset,
231
- selectedValueData: value,
232
231
  dbValueProps: {
233
232
  ...dbValueProps,
234
233
  ...(dbValueProps.isObjectId && { isObjectId: true }),
234
+ selectedValueData: value,
235
235
  },
236
236
  dbLabelProps,
237
237
  ...optionsApiEndpointParams,
@@ -309,10 +309,10 @@ export const SingleSelect = ({
309
309
  limit: limit,
310
310
  offset: offset + 10,
311
311
  search: search,
312
- selectedValueData: value,
313
312
  dbValueProps: {
314
313
  ...dbValueProps,
315
314
  ...(dbValueProps.isObjectId && { isObjectId: true }),
315
+ selectedValueData: value,
316
316
  },
317
317
  dbLabelProps,
318
318
  ...optionsApiEndpointParams,
@@ -357,10 +357,10 @@ export const SingleSelect = ({
357
357
  params: {
358
358
  limit,
359
359
  offset: 0,
360
- selectedValueData: value,
361
360
  dbValueProps: {
362
361
  ...dbValueProps,
363
362
  ...(dbValueProps.isObjectId && { isObjectId: true }),
363
+ selectedValueData: value,
364
364
  },
365
365
  dbLabelProps,
366
366
  search: searchValue,
@@ -413,13 +413,13 @@ export const SingleSelect = ({
413
413
  params: {
414
414
  limit,
415
415
  offset,
416
- selectedValueData: value,
417
416
  dbValueProps: {
418
417
  ...dbValueProps,
419
418
  ...(dbValueProps.isObjectId && { isObjectId: true }),
419
+ selectedValueData: value,
420
+ filterBySelectedValues: true,
420
421
  },
421
422
  dbLabelProps,
422
- filterBySelectedValues: true,
423
423
  },
424
424
  });
425
425
  dispatch({