@centreon/ui 23.10.104 → 23.10.106

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": "@centreon/ui",
3
- "version": "23.10.104",
3
+ "version": "23.10.106",
4
4
  "description": "Centreon UI Components",
5
5
  "scripts": {
6
6
  "eslint": "eslint ./src --ext .js,.jsx,.ts,.tsx --max-warnings 0",
@@ -25,7 +25,8 @@ const ConnectedAutocomplete = ({
25
25
  connectedAutocomplete,
26
26
  change,
27
27
  additionalMemoProps,
28
- type
28
+ type,
29
+ disableSortedOptions = false
29
30
  }: InputPropsWithoutGroup): JSX.Element => {
30
31
  const { t } = useTranslation();
31
32
 
@@ -106,6 +107,7 @@ const ConnectedAutocomplete = ({
106
107
  <AutocompleteField
107
108
  dataTestId={dataTestId}
108
109
  disableClearable={false}
110
+ disableSortedOptions={disableSortedOptions}
109
111
  disabled={disabled}
110
112
  error={error}
111
113
  field={filterKey}
@@ -52,6 +52,7 @@ export interface InputProps {
52
52
  Component: React.ComponentType<InputPropsWithoutGroup>;
53
53
  };
54
54
  dataTestId?: string;
55
+ disableSortedOptions?: boolean;
55
56
  fieldName: string;
56
57
  fieldsTable?: {
57
58
  additionalFieldsToMemoize?: Array<string>;