@skodaflow/web-library 2.1.4 → 2.1.5
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const useSelectInput: (
|
|
1
|
+
export declare const useSelectInput: (inputRef: any, setParentInputWidth: any, setHelpTextState: any, fullWidth: any, helpText: any, value: any, setCurrentValue: any, required: any, setIsRequired: any) => {
|
|
2
2
|
handleOnChange: (e: any, onChange: any, setCurrentValue: any) => void;
|
|
3
3
|
handleOnBlur: (setIsFocused: any, onBlur: any) => void;
|
|
4
4
|
handleOnFocus: (setIsFocused: any, onFocus: any) => void;
|
|
@@ -65,6 +65,10 @@ export interface SelectInputProps {
|
|
|
65
65
|
*set the full width for the select input
|
|
66
66
|
*/
|
|
67
67
|
fullWidth?: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* If true, the select menu items would not be trimmed by max width.
|
|
70
|
+
*/
|
|
71
|
+
removeSelectMenuMaxWidth?: boolean;
|
|
68
72
|
/**
|
|
69
73
|
* @description Triggered when element is changed.
|
|
70
74
|
* @param e React original event object
|