@campxdev/shared 1.10.61 → 1.10.62

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/shared",
3
- "version": "1.10.61",
3
+ "version": "1.10.62",
4
4
  "main": "./exports.ts",
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
@@ -21,6 +21,7 @@ interface MultiSelectProps {
21
21
  onChange?: (value: IOption[] | IOption) => void
22
22
  multiple?: boolean
23
23
  noOptionsText?: string
24
+ limitTags?: number
24
25
  }
25
26
 
26
27
  export default function FormMultiSelect({
@@ -33,6 +34,7 @@ export default function FormMultiSelect({
33
34
  multiple = true,
34
35
  noOptionsText,
35
36
  onInputChange,
37
+ limitTags = -1,
36
38
  ...props
37
39
  }: MultiSelectProps) {
38
40
  return (
@@ -55,6 +57,7 @@ export default function FormMultiSelect({
55
57
  noOptionsText={noOptionsText}
56
58
  required={required}
57
59
  helperText={error ? error.message : null}
60
+ limitTags={limitTags}
58
61
  {...props}
59
62
  />
60
63
  )