@centreon/ui 25.1.9 → 25.1.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
|
@@ -17,7 +17,7 @@ import { ForwardedRef, HTMLAttributes, ReactElement, forwardRef } from 'react';
|
|
|
17
17
|
import { SelectEntry } from '..';
|
|
18
18
|
import { getNormalizedId } from '../../../utils';
|
|
19
19
|
import TextField from '../../Text';
|
|
20
|
-
import { searchLabel } from '../../translatedLabels';
|
|
20
|
+
import { labelClear, labelOpen, searchLabel } from '../../translatedLabels';
|
|
21
21
|
import Option from '../Option';
|
|
22
22
|
import { useAutoCompleteStyles } from './autoComplete.styles';
|
|
23
23
|
|
|
@@ -217,7 +217,15 @@ const AutocompleteField = forwardRef(
|
|
|
217
217
|
);
|
|
218
218
|
}}
|
|
219
219
|
size="small"
|
|
220
|
-
slotProps={
|
|
220
|
+
slotProps={{
|
|
221
|
+
...autocompleteSlotsAndSlotProps?.slotProps,
|
|
222
|
+
clearIndicator: {
|
|
223
|
+
title: t(labelClear)
|
|
224
|
+
},
|
|
225
|
+
popupIndicator: {
|
|
226
|
+
title: t(labelOpen)
|
|
227
|
+
}
|
|
228
|
+
}}
|
|
221
229
|
{...autocompleteProps}
|
|
222
230
|
/>
|
|
223
231
|
);
|